]> git.baikalelectronics.ru Git - kernel.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>
Fri, 28 Sep 2012 20:03:03 +0000 (16:03 -0400)
commit82e7d510e05ce40b974c5663ea54d19f5c384f8b
tree9b0e87f60b2815ca20ef47eceed6da0f16b799ef
parent1200335b3c2ea0bfb602794c4e5ffdf8a1b9c21b
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