]> Pileus Git - ~andy/linux/blobdiff - fs/btrfs/xattr.c
Btrfs: don't clean old snapshots on sync(1)
[~andy/linux] / fs / btrfs / xattr.c
index 312b9435e9f8005aaaf60cd09220f37699a40508..a9d3bf4d2689a5924f1de8765bc38e3c5481c215 100644 (file)
@@ -98,7 +98,7 @@ int __btrfs_setxattr(struct inode *inode, const char *name,
        if (!path)
                return -ENOMEM;
 
-       trans = btrfs_start_transaction(root, 1);
+       trans = btrfs_join_transaction(root, 1);
        btrfs_set_trans_block_group(trans, inode);
 
        /* first lets see if we already have this xattr */