On Thu, Apr 08, 2010 at 01:35:31PM -0700, Harshavardhana wrote:
if (inode->i_size > BTRFS_EMPTY_DIR_SIZE || inode->i_ino == BTRFS_FIRST_FREE_OBJECTID) - return -ENOTEMPTY; + return -EPERM;
Don't you want to still return ENOTEMPTY for the size check, and only the EPERM on the root of subvolume? David -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
