On Tue, 2008-07-22 at 14:44 -0400, Josef Bacik wrote: > + > + if (BTRFS_I(dir)->index_cnt == (u64)-1) > + btrfs_get_index_count(dir); > + BTRFS_I(inode)->index = BTRFS_I(dir)->index_cnt; > + BTRFS_I(dir)->index_cnt++; I'll test this one in a little bit, but could you please factor this out into a small function? -chris -- 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
