45NhhVPko5txKuuzDPqhyK changeset
Changeset | 353336633239 (b) |
---|---|
Parent | 663639376333 (a) |
a | b | ||
---|---|---|---|
17 | 17 | - nolock = btrfs_is_free_space_inode(BTRFS_I(inode)); | |
18 | 18 | + if (btrfs_is_free_space_inode(BTRFS_I(inode))) { | |
19 | 19 | + nolock = true; | |
... | |||
20 | - | + } else | |
20 | + | + } else if (btrfs_test_opt(fs_info, FLUSHONCOMMIT)) { | |
... | |||
21 | 21 | + spin_lock(&fs_info->trans_lock); | |
22 | 22 | + if (fs_info->running_transaction && | |
23 | 23 | + (fs_info->running_transaction->state >= | |
... |
|
|