diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ntfs/sysctl.c | 8 |
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); |