]> git.baikalelectronics.ru Git - kernel.git/commit
nfs4_closedata doesn't need to mess with struct path
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 22 Jun 2011 22:20:23 +0000 (18:20 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:43:41 +0000 (01:43 -0400)
commit0cd201e22c0c002593faea9b7d6db65c29c7bba8
tree68c75e2a53096b2f6fe12b3f43b9fdb91d6dc484
parent09e366a8484abf519ae71008847cd2d0cc12bb7e
nfs4_closedata doesn't need to mess with struct path

instead of path_get()/path_put(), we can just use nfs_sb_{,de}active()
to pin the superblock down.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c