diff options
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index ef8ad18b275c..c11ecf500202 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -125,9 +125,8 @@ static int btrfs_sync_fs(struct super_block *sb, int wait) | |||
125 | trans = btrfs_start_transaction(root, 1); | 125 | trans = btrfs_start_transaction(root, 1); |
126 | ret = btrfs_commit_transaction(trans, root); | 126 | ret = btrfs_commit_transaction(trans, root); |
127 | sb->s_dirt = 0; | 127 | sb->s_dirt = 0; |
128 | BUG_ON(ret); | ||
129 | mutex_unlock(&root->fs_info->fs_mutex); | 128 | mutex_unlock(&root->fs_info->fs_mutex); |
130 | return 0; | 129 | return ret; |
131 | } | 130 | } |
132 | 131 | ||
133 | static void btrfs_write_super(struct super_block *sb) | 132 | static void btrfs_write_super(struct super_block *sb) |