]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 19 Sep 2012 22:16:17 +0000 (18:16 -0400)
commit5ff306aeac60efa2708bc4e0d154f8005cc19feb
tree189a31db499699a22612852159eb49ff7d145f72
parent1500331d524bf77083c288fe3ed418187e176b05
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