diff options
author | Christoph Hellwig <hch@lst.de> | 2006-01-18 17:43:52 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-18 19:20:28 -0800 |
commit | e2f99018eb7b29954747a2dd78e9fc0c36a60f0f (patch) | |
tree | 6e74677c01a13d2ec5285df9bffd34357b966e57 /fs/stat.c | |
parent | 846f2fcd77850ef8f0aab46df9cadd5c35a5fef0 (diff) | |
download | linux-stable-e2f99018eb7b29954747a2dd78e9fc0c36a60f0f.tar.gz linux-stable-e2f99018eb7b29954747a2dd78e9fc0c36a60f0f.tar.bz2 linux-stable-e2f99018eb7b29954747a2dd78e9fc0c36a60f0f.zip |
[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 <hch@lst.de>
Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions