NFS: Convert nfs_get_lock_context to return an ERR_PTR on failure
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 13 Aug 2012 21:15:50 +0000 (17:15 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Sep 2012 20:03:03 +0000 (16:03 -0400)
commitb3c54de6f82d01637796bcc1f667a45f3b32e814
tree9b0e87f60b2815ca20ef47eceed6da0f16b799ef
parenta11a2bf4de5679fa0b63474c7d39bea2dac7d061
NFS: Convert nfs_get_lock_context to return an ERR_PTR on failure

We want to be able to distinguish between allocation failures, and
the case where the lock context is not needed (because there are no
locks).

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