From: Miklos Szeredi Date: Tue, 17 Oct 2006 07:10:12 +0000 (-0700) Subject: [PATCH] fuse: fix dereferencing dentry parent X-Git-Tag: v2.6.19-rc3~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e956edd0523b6b48ed367c63b0c82d8f4c447a58;p=pandora-kernel.git [PATCH] fuse: fix dereferencing dentry parent There's no locking for ->d_revalidate, so fuse_dentry_revalidate() should use dget_parent() instead of simply dereferencing ->d_parent. Due to topology changes in the directory tree the parent could become negative or be destroyed while being used. There hasn't been any reports about this yet. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed