diff options
author | 2007-10-25 15:49:25 -0400 | |
---|---|---|
committer | 2008-09-25 11:03:57 -0400 | |
commit | 134d45120164141c0847daf5222aaec77e04724a (patch) | |
tree | 096a7b7853281b28bd6059cf610f38a8ec65f07a /fs/btrfs/extent_map.h | |
parent | btrfs_inode_by_name return random value. (diff) | |
download | linux-dev-134d45120164141c0847daf5222aaec77e04724a.tar.xz linux-dev-134d45120164141c0847daf5222aaec77e04724a.zip |
Fix ENOTEMPTY check in btrfs_rmdir
The ENOTEMPTY check in btrfs_rmdir isn't reliable. It's possible that
the backward search finds . or .. at first, then some other directory
entry. In that case, btrfs_rmdir delete . or .. improperly. The
patch also fixes a fs_mutex unlock issue in btrfs_rmdir.
--
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_map.h')
0 files changed, 0 insertions, 0 deletions