diff options
author | David Howells <dhowells@redhat.com> | 2018-04-06 15:17:25 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-04-09 22:54:00 +0200 |
commit | 66c7e1d319a5b3a57de688a36200e463ec87e88e (patch) | |
tree | f38f631e9fe71179b007e53bcebe712c3ed23fc3 /fs/afs/internal.h | |
parent | afs: Keep track of invalid-before version for dentry coherency (diff) | |
download | linux-66c7e1d319a5b3a57de688a36200e463ec87e88e.tar.xz linux-66c7e1d319a5b3a57de688a36200e463ec87e88e.zip |
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 adf9b17d328c..b6ec46ae03c3 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 |