vfs: remove unused s_lock_key
Subsystems (2)
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.
Signed-off-by Amir Goldstein <[email protected]>
--- Documentation/filesystems/vfs.txt | 3 +-- include/linux/fs.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-)
Documentation/filesystems/vfs.txt +1 -2
@@ -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
@@ -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