summaryrefslogtreecommitdiffstats
path: root/fs/ioctl.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-03-01 19:35:47 +0100
committerJosef Bacik <jbacik@fusionio.com>2013-03-04 22:30:06 +0100
commit9bf7a4890518186238d2579be16ecc5190a707c0 (patch)
treece4ca80d9aa36046dc671365950819adbae861fa /fs/ioctl.c
parentbtrfs/raid56: Add missing #include <linux/vmalloc.h> (diff)
downloadlinux-9bf7a4890518186238d2579be16ecc5190a707c0.tar.xz
linux-9bf7a4890518186238d2579be16ecc5190a707c0.zip
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 <jbacik@fusionio.com>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions