On Thu, 25 Oct 2007 19:30:47 +0800
"Yan Zheng" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> 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 fix a fs_mutex unlock issue in  btrfs_rmdir by the way.

Thanks, you're right.  The original code was before the inode number
index, when the backward search was correct.

-chris

_______________________________________________
Btrfs-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/btrfs-devel

Reply via email to