From: Jeff Layton Date: Wed, 27 Apr 2011 15:49:09 +0000 (-0400) Subject: nfs: don't lose MS_SYNCHRONOUS on remount of noac mount X-Git-Tag: v2.6.39-rc6~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26c4c170731f00008f4317a2888a0a07ac99d90d;p=pandora-kernel.git nfs: don't lose MS_SYNCHRONOUS on remount of noac mount On a remount, the VFS layer will clear the MS_SYNCHRONOUS bit on the assumption that the flags on the mount syscall will have it set if the remounted fs is supposed to keep it. In the case of "noac" though, MS_SYNCHRONOUS is implied. A remount of such a mount will lose the MS_SYNCHRONOUS flag since "sync" isn't part of the mount options. Reported-by: Max Matveev Signed-off-by: Jeff Layton Cc: stable@kernel.org Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed