On Mon, Nov 28, 2011 at 03:47:20PM +0800, Jeff Liu wrote: > For an initial dir inode, stat(1) show it links as 1, IMHO it should be > 2 by default.
Yes, this is correct for directories. And newly created subvolumes should have nlink == 2 as well, can you please add it to your patch? (I have tested your patch + the proposed change.) Thanks, david -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html