]> Pileus Git - ~andy/linux/commit
exportfs: move most of reconnect_path to helper function
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 17 Oct 2013 15:13:00 +0000 (11:13 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Nov 2013 05:16:37 +0000 (00:16 -0500)
commitbbf7a8a3562f2de49ce24db3be0f514459dd7f8b
treee70d36de179acd9cabe89299674acf1a16e58e8d
parente4b70ebeeba954cb9cbcf0f19016bb9c2b8711c1
exportfs: move most of reconnect_path to helper function

Also replace 3 easily-confused three-letter acronyms by more helpful
variable names.

Just cleanup, no change in functionality, with one exception: the
dentry_connected() check in the "out_reconnected" case will now only
check the ancestors of the current dentry instead of checking all the
way from target_dir.  Since we've already verified connectivity up to
this dentry, that should be sufficient.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/exportfs/expfs.c