• Y
    Fix ENOTEMPTY check in btrfs_rmdir · 134d4512
    Yan 提交于
    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: NChris Mason <chris.mason@oracle.com>
    134d4512
inode.c 64.0 KB