Return-Path: Received: from mail-wj0-f193.google.com ([209.85.210.193]:34894 "EHLO mail-wj0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750738AbcLCJQS (ORCPT ); Sat, 3 Dec 2016 04:16:18 -0500 Received: by mail-wj0-f193.google.com with SMTP id he10so18665146wjc.2 for ; Sat, 03 Dec 2016 01:16:18 -0800 (PST) From: Amir Goldstein To: Al Viro Cc: linux-fsdevel@vger.kernel.org Subject: [PATCH] vfs: remove unused s_lock_key Date: Sat, 3 Dec 2016 11:15:55 +0200 Message-Id: <1480756555-462-1-git-send-email-amir73il@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 --- 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