From 66c7e1d319a5b3a57de688a36200e463ec87e88e Mon Sep 17 00:00:00 2001 From: David Howells Date: Fri, 6 Apr 2018 14:17:25 +0100 Subject: 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 --- fs/afs/internal.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'fs/afs/internal.h') 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 -- cgit v1.2.3