Btrfs: remove negative dentry when deleting subvolumne
authorYan, Zheng <zheng.yan@oracle.com>
Fri, 9 Oct 2009 13:25:16 +0000 (09:25 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 9 Oct 2009 13:25:16 +0000 (09:25 -0400)
The use of btrfs_dentry_delete is removing dentries from the
dcache when deleting subvolumne. btrfs_dentry_delete ignores
negative dentries. This is incorrect since if we don't remove
the negative dentry, its parent dentry can't be removed.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found