From: Jan Kara Subject: [PATCH 27/27] Documentation: Correct s_umount state for freeze_fs/unfreeze_fs Date: Sat, 2 Jun 2012 00:30:41 +0200 Message-ID: <1338589841-9568-28-git-send-email-jack@suse.cz> References: <1338589841-9568-1-git-send-email-jack@suse.cz> Cc: Al Viro , dchinner@redhat.com, Valerie Aurora , Kamal Mostafa , Jan Kara To: linux-fsdevel@vger.kernel.org Return-path: Received: from cantor2.suse.de ([195.135.220.15]:33346 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965866Ab2FAWbq (ORCPT ); Fri, 1 Jun 2012 18:31:46 -0400 In-Reply-To: <1338589841-9568-1-git-send-email-jack@suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: From: Valerie Aurora freeze_fs/unfreeze_fs ops are called with s_umount held for write, not read. Signed-off-by: Valerie Aurora Signed-off-by: Kamal Mostafa Reviewed-by: Christoph Hellwig Signed-off-by: Jan Kara --- Documentation/filesystems/Locking | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking index d449e63..8959c71 100644 --- a/Documentation/filesystems/Locking +++ b/Documentation/filesystems/Locking @@ -132,8 +132,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.1