From: Kamal Mostafa Subject: [PATCH v2 7/7] Documentation: Correct s_umount state for freeze_fs/unfreeze_fs Date: Thu, 8 Dec 2011 10:04:37 -0800 Message-ID: <1323367477-21685-8-git-send-email-kamal@canonical.com> References: <1323367477-21685-1-git-send-email-kamal@canonical.com> Cc: linux-doc@vger.kernel.org, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Surbhi Palande , Valerie Aurora , Kamal Mostafa , Christopher Chaltain , "Peter M. Petrakis" , Mikulas Patocka To: Jan Kara , Alexander Viro , Andreas Dilger , Matthew Wilcox , Randy Dunlap , Theodore Tso Return-path: In-Reply-To: <1323367477-21685-1-git-send-email-kamal@canonical.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org From: Valerie Aurora freeze_fs/unfreeze_fs ops are called with s_umount held for write, not read. BugLink: https://bugs.launchpad.net/bugs/897421 Signed-off-by: Valerie Aurora Cc: Kamal Mostafa Tested-by: Peter M. Petrakis Signed-off-by: Kamal Mostafa Reviewed-by: Christoph Hellwig --- Documentation/filesystems/Locking | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking index d819ba1..7e46a94 100644 --- a/Documentation/filesystems/Locking +++ b/Documentation/filesystems/Locking @@ -134,8 +134,8 @@ evict_inode: put_super: write write_super: read sync_fs: read -freeze_fs: read -unfreeze_fs: read +freeze_fs: write +unfreeze_fs: write statfs: maybe(read) (see below) remount_fs: write umount_begin: no -- 1.7.5.4