commit | 134d45120164141c0847daf5222aaec77e04724a | [log] [tgz] |
---|---|---|
author | Yan <yanzheng@21cn.com> | Thu Oct 25 15:49:25 2007 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:03:57 2008 -0400 |
tree | 096a7b7853281b28bd6059cf610f38a8ec65f07a | |
parent | 0d9f7f3e27a92b07212090a1772fdbb3a92fef81 [diff] |
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>