aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 2b48d2d51d50..2dc59734e071 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -2502,6 +2502,7 @@ int btrfs_orphan_cleanup(struct btrfs_root *root)
2502 */ 2502 */
2503 set_bit(BTRFS_INODE_HAS_ORPHAN_ITEM, 2503 set_bit(BTRFS_INODE_HAS_ORPHAN_ITEM,
2504 &BTRFS_I(inode)->runtime_flags); 2504 &BTRFS_I(inode)->runtime_flags);
2505 atomic_inc(&root->orphan_inodes);
2505 2506
2506 /* if we have links, this was a truncate, lets do that */ 2507 /* if we have links, this was a truncate, lets do that */
2507 if (inode->i_nlink) { 2508 if (inode->i_nlink) {