summaryrefslogtreecommitdiffstats
path: root/fs/romfs
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2008-12-08 18:24:18 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-08 19:49:32 -0800
commita4f4d6df537368297a84e6b9444f403f99bf59f6 (patch)
tree6d2f25c48d2f46215424476182e09ae7f14cc7aa /fs/romfs
parent218d11a8b071b23b76c484fd5f72a4fe3306801e (diff)
downloadlinux-a4f4d6df537368297a84e6b9444f403f99bf59f6.tar.bz2
EXPORTFS: handle NULL returns from fh_to_dentry()/fh_to_parent()
While 440037287c5 "[PATCH] switch all filesystems over to d_obtain_alias" removed some cases where fh_to_dentry() and fh_to_parent() could return NULL, there are still a few NULL returns left in individual filesystems. Thus it was a mistake for that commit to remove the handling of NULL returns in the callers. Revert those parts of 440037287c5 which removed the NULL handling. (We could, alternatively, modify all implementations to return -ESTALE instead of NULL, but that proves to require fixing a number of filesystems, and in some cases it's arguably more natural to return NULL.) Thanks to David for original patch and Linus, Christoph, and Hugh for review. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Cc: David Howells <dhowells@redhat.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Hugh Dickins <hugh@veritas.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions