From: Josef Bacik Date: Fri, 1 Mar 2013 18:35:47 +0000 (-0500) Subject: Btrfs: use set_nlink if our i_nlink is 0 X-Git-Tag: v3.9-rc2~3^2~2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bf7a4890518186238d2579be16ecc5190a707c0;p=pandora-kernel.git Btrfs: use set_nlink if our i_nlink is 0 We need to inc the nlink of deleted entries when running replay so we can do the unlink on the fs_root and get everything cleaned up and then have the orphan cleanup do the right thing. The problem is inc_nlink complains about this, even thought it still does the right thing. So use set_nlink() if our i_nlink is 0 to keep users from seeing the warnings during log replay. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed