diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-04-27 11:49:09 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-04-27 16:20:01 -0400 |
commit | 26c4c170731f00008f4317a2888a0a07ac99d90d (patch) | |
tree | f187a530024ab278a3f3e25ee01edc2e8c568f39 /net/9p/client.c | |
parent | 613e901e1ee0e1096663b649eee8e5d6697919f3 (diff) |
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 <makc@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/9p/client.c')
0 files changed, 0 insertions, 0 deletions