]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix the sync mount option for nfs4 mounts
authorScott Mayhew <smayhew@redhat.com>
Wed, 31 Jul 2013 14:01:41 +0000 (10:01 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 7 Aug 2013 21:07:41 +0000 (17:07 -0400)
commitfc463673fa05c21ffe0d4b3f21b35cd5b541668b
treebe8b8793e85409be1f4de08cd94152cd0947c687
parent26c8a3e4a24859a7ea4d3e17df75238c489dd8ae
NFSv4: Fix the sync mount option for nfs4 mounts

The sync mount option stopped working for NFSv4 mounts after commit
9dea326bfaad23231ede0ee363b77ce2e70ad12d (NFSv4: Replace nfs4_path_walk() with
FS path lookup in a private namespace).  If MS_SYNCHRONOUS is set in the
super_block that we're cloning from, then it should be set in the new
super_block as well.

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c