exportfs: use dget_parent
authorChristoph Hellwig <hch@infradead.org>
Wed, 13 Oct 2010 15:56:37 +0000 (11:56 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:26:13 +0000 (21:26 -0400)
commit0461ee2616252f1f6cec628990fa913a4282dcf7
tree05169e74aeccac9f2d35caeacc9dfa12e25b13c8
parent3825bdb7ed920845961f32f364454bee5f469abb
exportfs: use dget_parent

Use dget_parent instead of opencoding it.  This simplifies the code, but
more importanly prepares for the more complicated locking for a parent
dget in the dcache scale patch series.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/exportfs/expfs.c