NFSv4.1: Fix a race in nfs4_write_inode
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 13 Jan 2014 18:34:36 +0000 (13:34 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 13 Jan 2014 18:34:36 +0000 (13:34 -0500)
nfs4_write_inode() must not be allowed to exit until the layoutcommit
is done. That means that both NFS_INO_LAYOUTCOMMIT and
NFS_INO_LAYOUTCOMMITTING have to be cleared.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4super.c
fs/nfs/pnfs.c

Simple merge
diff --cc fs/nfs/pnfs.c
Simple merge