pNFS: Always update the layout stateid if NFS_LAYOUT_INVALID_STID is set
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 24 Jul 2016 15:39:03 +0000 (11:39 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 24 Jul 2016 20:16:25 +0000 (16:16 -0400)
commit13bede18de41e2cfe8f67c1cd8b6d10be42ef473
treecd2b5ff352075c581f74b86b493ec05834cc2206
parent8e0acf9046b868a02e9afdddd25c8a132d50e99c
pNFS: Always update the layout stateid if NFS_LAYOUT_INVALID_STID is set

If the layout stateid is invalid, then pnfs_set_layout_stateid() must
always initialise it.

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