NFSv4.1: Cleanup ugliness in pnfs_layoutgets_blocked()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Oct 2012 23:56:58 +0000 (16:56 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 5 Oct 2012 23:56:58 +0000 (16:56 -0700)
commit19c54abab79404c027ff61f13468e78a3e2a0065
tree645fe712d66fd3f0ca5c6699b159b0712fa29690
parent22aaf71495570b31350c37fd0aa736551bbaa3c9
NFSv4.1: Cleanup ugliness in pnfs_layoutgets_blocked()

Split it into two functions, one which checks if layoutgets are blocked,
and one which checks if the layout stateid has expired.

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