NFSv4.1/flexfiles: Fix incorrect usage of pnfs_generic_mark_devid_invalid()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Sep 2015 10:31:33 +0000 (03:31 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Sep 2015 22:12:11 +0000 (15:12 -0700)
commit388ef16640cefd202daa723fba02e7c0266f8454
tree794d155fa7736762624f6e215831830e29258f82
parent972398fa0a5f47c6ee0bde4d6d24b29f90ec888d
NFSv4.1/flexfiles: Fix incorrect usage of pnfs_generic_mark_devid_invalid()

Unlike the files layout, flexfiles does not test for the NFS_DEVICEID_INVALID
flag. Instead it relies on NFS_DEVICEID_UNAVAILABLE.
Fix is to replace with nfs4_mark_deviceid_unavailable().

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