]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Clean up - simplify nfs_lock_request()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 May 2012 17:19:15 +0000 (13:19 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 May 2012 19:17:34 +0000 (15:17 -0400)
commit5ebd362e3c026f19d0d535d116b9678e0de32def
tree7d2baea4ff52fe62b23bf8adbb81a824ee768938
parentd34803cf3dd59e70e2d3023e55809583480d6b48
NFS: Clean up - simplify nfs_lock_request()

We only have two places where we need to grab a reference when trying
to lock the nfs_page. We're better off making that explicit.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Fred Isaman <iisaman@netapp.com>
fs/nfs/direct.c
fs/nfs/write.c
include/linux/nfs_page.h