diff mbox

vfs: remove unused s_lock_key

Message ID 1480756555-462-1-git-send-email-amir73il@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Amir Goldstein Dec. 3, 2016, 9:15 a.m. UTC
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 <amir73il@gmail.com>
---
 Documentation/filesystems/vfs.txt | 3 +--
 include/linux/fs.h                | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)
diff mbox

Patch

diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
index d619c8d..9278ef9 100644
--- a/Documentation/filesystems/vfs.txt
+++ b/Documentation/filesystems/vfs.txt
@@ -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:
 
diff --git a/include/linux/fs.h b/include/linux/fs.h
index e3bc970..55c9314 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -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];