fuse: prepare lookup for nfs export
authorMiklos Szeredi <mszeredi@suse.cz>
Fri, 25 Jul 2008 08:48:59 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:48 +0000 (10:53 -0700)
commit0de6256daafa3a97a269995e9b29f956bd419bbf
treef71f080b3a895d25e6b956de72220e1e03464751
parent764c76b371722e0cba5c24d91225f0f954b69d44
fuse: prepare lookup for nfs export

Use d_splice_alias() instead of d_add() in fuse lookup code, to allow NFS
exporting.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/dir.c