diff options
Diffstat (limited to 'fs/btrfs/backref.c')
-rw-r--r-- | fs/btrfs/backref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c index 89116afda7a2..e5d85311d5d5 100644 --- a/fs/btrfs/backref.c +++ b/fs/btrfs/backref.c | |||
@@ -1483,7 +1483,7 @@ int btrfs_check_shared(struct btrfs_root *root, u64 inum, u64 bytenr, | |||
1483 | ulist_init(roots); | 1483 | ulist_init(roots); |
1484 | ulist_init(tmp); | 1484 | ulist_init(tmp); |
1485 | 1485 | ||
1486 | trans = btrfs_attach_transaction(root); | 1486 | trans = btrfs_join_transaction_nostart(root); |
1487 | if (IS_ERR(trans)) { | 1487 | if (IS_ERR(trans)) { |
1488 | if (PTR_ERR(trans) != -ENOENT && PTR_ERR(trans) != -EROFS) { | 1488 | if (PTR_ERR(trans) != -ENOENT && PTR_ERR(trans) != -EROFS) { |
1489 | ret = PTR_ERR(trans); | 1489 | ret = PTR_ERR(trans); |