]> Git Repo - linux.git/commit
[PATCH] exportfs: add find_acceptable_alias helper
authorChristoph Hellwig <[email protected]>
Thu, 19 Jan 2006 01:43:52 +0000 (17:43 -0800)
committerLinus Torvalds <[email protected]>
Thu, 19 Jan 2006 03:20:28 +0000 (19:20 -0800)
commite2f99018eb7b29954747a2dd78e9fc0c36a60f0f
tree6e74677c01a13d2ec5285df9bffd34357b966e57
parent846f2fcd77850ef8f0aab46df9cadd5c35a5fef0
[PATCH] exportfs: add find_acceptable_alias helper

find_exported_dentry contains two duplicate loops to find an alias that the
acceptable callback likes.  Split this out to a new helper and switch from
list_for_each to list_for_each_entry to make it more readable.

Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: NeilBrown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/exportfs/expfs.c
This page took 0.047984 seconds and 4 git commands to generate.