NFS41/flexfiles: update inode after write finishes
authorPeng Tao <tao.peng@primarydata.com>
Wed, 19 Aug 2015 17:52:59 +0000 (01:52 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 19 Aug 2015 18:51:16 +0000 (13:51 -0500)
commit69f230d907e8c1ca3f9bd528993eeb98f712b0dd
tree5279003b02da2d13eb82792093b0a5e0fa6d2a3f
parente755d638e91be254d441602e8d7d9f1d9c944556
NFS41/flexfiles: update inode after write finishes

Otherwise we break fstest case tests/read_write/mctime.t

Does files layout need the same fix as well?

Cc: stable@vger.kernel.org # v4.0+
Cc: Anna Schumaker <anna.schumaker@netapp.com>
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/flexfilelayout/flexfilelayout.c