[PATCH] vfs: remove unused s_lock_key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 Documentation/filesystems/vfs.txt | 3 +--
 include/linux/fs.h                | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

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];
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux