Message ID | a11e11d7590be613434fb90a29dc6d4affce9463.1741887950.git.fdmanana@suse.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | btrfs: some cleanups and minor optimization for log trees | expand |
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index 7e0339f5fb6b..6c59c581ebe4 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -7146,8 +7146,6 @@ static int btrfs_log_inode_parent(struct btrfs_trans_handle *trans, if (log_dentries) ret = log_new_dir_dentries(trans, inode, ctx); - else - ret = 0; end_trans: if (ret < 0) { btrfs_set_log_full_commit(trans);