OSDN Git Service

pnfs: Don't call commit on failed layoutget-on-open
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 22 May 2018 15:15:32 +0000 (11:15 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:03:12 +0000 (15:03 -0400)
commit32f1c28f3d453f4652948ab9298078874d1a56b6
treeeb37f956a37602c83d5d525ffcab21a229cb7ad1
parent64294b08f9d27f83cbb0975250614864fa733bda
pnfs: Don't call commit on failed layoutget-on-open

If the layoutget on open call failed, we can't really commit the inode,
so don't bother calling it.

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