pNFS: pnfs_roc_drain should return 'true' when sleeping
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 9 Jul 2015 21:38:11 +0000 (23:38 +0200)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 11 Jul 2015 14:16:16 +0000 (16:16 +0200)
commitdf9cecc1a36d70ec09d34e83bad452064754fdc4
treef33c7a8223980190c79e1e64667c16a2e01988ca
parentc5d73716e95d510c0655272ce44f318932309cb1
pNFS: pnfs_roc_drain should return 'true' when sleeping

Also clean up the case where we don't find a return-on-close layout segment.

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