]> err.no Git - linux-2.6/commit
knfsd: exportfs: add find_disconnected_root helper
authorChristoph Hellwig <hch@infradead.org>
Tue, 17 Jul 2007 11:04:32 +0000 (04:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:06 +0000 (10:23 -0700)
commitdd90b50906db2c03e236e046f2fc7f7290efe4b4
treed507defbc526fb9ca1fae7c0c72d8add03396dcd
parentfb66a1989c8abc3015aa334f617658b277e5fe98
knfsd: exportfs: add find_disconnected_root helper

Break the loop that finds the root of a disconnected subtree into a helper of
its own to make reading easier and document the intent.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exportfs/expfs.c