]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/btrfs/tree-log.c
Merge branch 'for-chris' of git://git.jan-o-sch.net/btrfs-unstable into integration
[karo-tx-linux.git] / fs / btrfs / tree-log.c
index fce7b9ec3bfa556950fcbb78d9939f3aa94eff48..cb877e0886a71b80e0f44f60e0d884f57203a597 100644 (file)
@@ -1031,7 +1031,7 @@ static noinline int fixup_inode_link_count(struct btrfs_trans_handle *trans,
        }
        btrfs_release_path(path);
        if (nlink != inode->i_nlink) {
-               inode->i_nlink = nlink;
+               set_nlink(inode, nlink);
                btrfs_update_inode(trans, root, inode);
        }
        BTRFS_I(inode)->index_cnt = (u64)-1;