summaryrefslogtreecommitdiffstats
path: root/fs/configfs/configfs_internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-03-17 21:13:25 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-21 02:29:46 +0100
commit81d44ed159e3e81f7e62cee2d0fe68aae0c95e78 (patch)
tree4d6d02a6d57d547e53ffa0cfb6c54acc3e4c630f /fs/configfs/configfs_internal.h
parent__register_binfmt() made void (diff)
downloadlinux-81d44ed159e3e81f7e62cee2d0fe68aae0c95e78.tar.xz
linux-81d44ed159e3e81f7e62cee2d0fe68aae0c95e78.zip
configfs: don't bother with checks for mkdir/rmdir/unlink/symlink in root
just give root directory separate inode_operations without all those methods... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/configfs/configfs_internal.h')
-rw-r--r--fs/configfs/configfs_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/configfs/configfs_internal.h b/fs/configfs/configfs_internal.h
index ede857d20a04..1b7fdc0a6a09 100644
--- a/fs/configfs/configfs_internal.h
+++ b/fs/configfs/configfs_internal.h
@@ -89,6 +89,7 @@ extern const struct file_operations configfs_dir_operations;
extern const struct file_operations configfs_file_operations;
extern const struct file_operations bin_fops;
extern const struct inode_operations configfs_dir_inode_operations;
+extern const struct inode_operations configfs_root_inode_operations;
extern const struct inode_operations configfs_symlink_inode_operations;
extern const struct dentry_operations configfs_dentry_ops;