aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r--fs/btrfs/transaction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index a3205808ab2b..08f7a188dc3e 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -521,6 +521,7 @@ int btrfs_write_ordered_inodes(struct btrfs_trans_handle *trans,
521 if (inode) { 521 if (inode) {
522 if (S_ISREG(inode->i_mode)) 522 if (S_ISREG(inode->i_mode))
523 filemap_write_and_wait(inode->i_mapping); 523 filemap_write_and_wait(inode->i_mapping);
524 atomic_dec(&inode->i_count);
524 iput(inode); 525 iput(inode);
525 } 526 }
526 mutex_lock(&root->fs_info->fs_mutex); 527 mutex_lock(&root->fs_info->fs_mutex);