aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/sysctl.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-02-14 03:34:14 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-14 11:10:00 -0500
commit3fbfa98112fc3962c416452a0baf2214381030e6 (patch)
tree5a14a9d97ba05f415698de7b4ec5949363c268a6 /fs/ntfs/sysctl.c
parentd912b0cc1a617d7c590d57b7ea971d50c7f02503 (diff)
[PATCH] sysctl: remove the proc_dir_entry member for the sysctl tables
It isn't needed anymore, all of the users are gone, and all of the ctl_table initializers have been converted to use explicit names of the fields they are initializing. [akpm@osdl.org: NTFS fix] Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Cc: James Morris <jmorris@namei.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ntfs/sysctl.c')
-rw-r--r--fs/ntfs/sysctl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/ntfs/sysctl.c b/fs/ntfs/sysctl.c
index 1f1ee4c9eacc..4847fbfb0107 100644
--- a/fs/ntfs/sysctl.c
+++ b/fs/ntfs/sysctl.c
@@ -73,14 +73,6 @@ int ntfs_sysctl(int add)
73 sysctls_root_table = register_sysctl_table(sysctls_root); 73 sysctls_root_table = register_sysctl_table(sysctls_root);
74 if (!sysctls_root_table) 74 if (!sysctls_root_table)
75 return -ENOMEM; 75 return -ENOMEM;
76#ifdef CONFIG_PROC_FS
77 /*
78 * If the proc filesystem is in use and we are a module, need
79 * to set the owner of our proc entry to our module. In the
80 * non-modular case, THIS_MODULE is NULL, so this is ok.
81 */
82 ntfs_sysctls[0].de->owner = THIS_MODULE;
83#endif
84 } else { 76 } else {
85 BUG_ON(!sysctls_root_table); 77 BUG_ON(!sysctls_root_table);
86 unregister_sysctl_table(sysctls_root_table); 78 unregister_sysctl_table(sysctls_root_table);