NFSv4: Fix nfs4_inode_make_writeable()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 27 Oct 2019 17:48:18 +0000 (13:48 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Nov 2019 02:28:46 +0000 (21:28 -0500)
commit3887ce1aac3a02df3d992cf82d0c644d26d64635
tree57b34b940c87ce58000b9d072aba604f085af8b9
parent40e6aa10aaf233b58db319e77a6a05ed633e107c
NFSv4: Fix nfs4_inode_make_writeable()

Fix the checks in nfs4_inode_make_writeable() to ignore the case where
we hold no delegations. Currently, in such a case, we automatically
flush writes.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/delegation.c