summaryrefslogtreecommitdiff
path: root/fs/autofs4/root.c
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2011-01-14 18:46:14 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2011-01-15 20:07:40 -0500
commite61da20a50d21725ff27571a6dff9468e4fb7146 (patch)
treec82ea451647e95754bb27aa46c60fd264ddd7c2c /fs/autofs4/root.c
parent8c13a676d5a56495c350f3141824a5ef6c6b4606 (diff)
downloadlinux-3.10-e61da20a50d21725ff27571a6dff9468e4fb7146.tar.gz
linux-3.10-e61da20a50d21725ff27571a6dff9468e4fb7146.tar.bz2
linux-3.10-e61da20a50d21725ff27571a6dff9468e4fb7146.zip
autofs4: Clean up inode operations
Since the use of ->follow_link() has been eliminated there is no need to separate the indirect and direct inode operations. Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs4/root.c')
-rw-r--r--fs/autofs4/root.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index b2498c8cb0a..52af410a831 100644
--- a/fs/autofs4/root.c
+++ b/fs/autofs4/root.c
@@ -56,21 +56,6 @@ const struct file_operations autofs4_dir_operations = {
.llseek = dcache_dir_lseek,
};
-const struct inode_operations autofs4_indirect_root_inode_operations = {
- .lookup = autofs4_lookup,
- .unlink = autofs4_dir_unlink,
- .symlink = autofs4_dir_symlink,
- .mkdir = autofs4_dir_mkdir,
- .rmdir = autofs4_dir_rmdir,
-};
-
-const struct inode_operations autofs4_direct_root_inode_operations = {
- .lookup = autofs4_lookup,
- .unlink = autofs4_dir_unlink,
- .mkdir = autofs4_dir_mkdir,
- .rmdir = autofs4_dir_rmdir,
-};
-
const struct inode_operations autofs4_dir_inode_operations = {
.lookup = autofs4_lookup,
.unlink = autofs4_dir_unlink,