Skip to contentSkip to conversation

vfs: remove unused s_lock_key

PATCH New Amir Goldstein 1 participant 1 message Dec 3, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vfs: remove unused s_lock_key

Commit 8e22cc88d68c ("vfs: drop lock/unlock super") removed s_lock mutex from struct super_block and left the matching lockdep key in struct file_system_type.

---
 Documentation/filesystems/vfs.txt | 3 +--
 include/linux/fs.h                | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)
Documentation/filesystems/vfs.txt +1 -2
index d619c8d..9278ef9 100644
@@ -120,7 +120,6 @@ struct file_system_type {
         struct module *owner;
         struct file_system_type * next;
         struct list_head fs_supers;
-	struct lock_class_key s_lock_key;
 	struct lock_class_key s_umount_key;
 };
 
@@ -140,7 +139,7 @@ struct file_system_type {
 
   next: for internal VFS use: you should initialize this to NULL
 
-  s_lock_key, s_umount_key: lockdep-specific
+  s_umount_key: lockdep-specific
 
 The mount() method has the following arguments:
 
include/linux/fs.h +0 -1
index e3bc970..55c9314 100644
@@ -2053,7 +2053,6 @@ struct file_system_type {
 	struct file_system_type * next;
 	struct hlist_head fs_supers;
 
-	struct lock_class_key s_lock_key;
 	struct lock_class_key s_umount_key;
 	struct lock_class_key s_vfs_rename_key;
 	struct lock_class_key s_writers_key[SB_FREEZE_LEVELS];
Signature · 1 line
2.7.4