diff options
author | David Howells <dhowells@redhat.com> | 2018-04-06 14:17:25 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-04-09 21:54:00 +0100 |
commit | 66c7e1d319a5b3a57de688a36200e463ec87e88e (patch) | |
tree | f38f631e9fe71179b007e53bcebe712c3ed23fc3 /fs/afs/internal.h | |
parent | a4ff7401fbfa06fba3aac14db5b33c5b76298f2c (diff) | |
download | op-kernel-dev-66c7e1d319a5b3a57de688a36200e463ec87e88e.zip op-kernel-dev-66c7e1d319a5b3a57de688a36200e463ec87e88e.tar.gz |
afs: Split the dynroot stuff out and give it its own ops tables
Split the AFS dynamic root stuff out of the main directory handling file
and into its own file as they share little in common.
The dynamic root code also gets its own dentry and inode ops tables.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r-- | fs/afs/internal.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h index adf9b17..b6ec46a 100644 --- a/fs/afs/internal.h +++ b/fs/afs/internal.h @@ -671,11 +671,19 @@ extern bool afs_cm_incoming_call(struct afs_call *); */ extern const struct file_operations afs_dir_file_operations; extern const struct inode_operations afs_dir_inode_operations; -extern const struct file_operations afs_dynroot_file_operations; -extern const struct inode_operations afs_dynroot_inode_operations; extern const struct dentry_operations afs_fs_dentry_operations; extern bool afs_dir_check_page(struct inode *, struct page *); +extern void afs_d_release(struct dentry *); + +/* + * dynroot.c + */ +extern const struct file_operations afs_dynroot_file_operations; +extern const struct inode_operations afs_dynroot_inode_operations; +extern const struct dentry_operations afs_dynroot_dentry_operations; + +extern struct inode *afs_try_auto_mntpt(struct dentry *, struct inode *); /* * file.c |