Anand Jain
262c96a3c3
btrfs: refactor btrfs_set_prop and add btrfs_set_prop_trans
...
btrfs_set_prop() takes transaction pointer as the first argument,
however in ioctl.c for the purpose of setting the compression property,
we call btrfs_set_prop() with NULL transaction pointer. Down in
the call chain btrfs_setxattr() starts transaction to update the
attribute and also to update the inode.
So for clarity, create btrfs_set_prop_trans() with no transaction
pointer as argument, in preparation to start transaction here instead of
doing it down the call chain at btrfs_setxattr().
Also now the btrfs_set_prop() is a static function.
Signed-off-by: Anand Jain <anand.jain@oracle.com >
Reviewed-by: David Sterba <dsterba@suse.com >
Signed-off-by: David Sterba <dsterba@suse.com >
2019-04-29 19:02:19 +02:00
..
2019-04-29 19:02:18 +02:00
2019-02-25 14:13:17 +01:00
2019-02-25 14:13:24 +01:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:39 +01:00
2018-04-12 16:29:46 +02:00
2018-12-17 14:51:43 +01:00
2018-12-17 14:51:50 +01:00
2018-04-12 16:29:46 +02:00
2019-03-08 14:12:17 -08:00
2019-02-25 14:13:32 +01:00
2019-02-25 14:19:23 +01:00
2019-03-12 14:53:57 -07:00
2018-04-12 16:29:46 +02:00
2018-10-15 17:23:38 +02:00
2018-10-15 17:23:33 +02:00
2019-02-25 14:13:39 +01:00
2019-02-25 14:13:39 +01:00
2019-02-25 14:13:41 +01:00
2018-12-17 14:51:45 +01:00
2018-10-15 17:23:25 +02:00
2019-04-29 19:02:18 +02:00
2018-12-17 14:51:43 +01:00
2018-10-15 17:23:25 +02:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:19 +02:00
2019-04-29 19:02:18 +02:00
2019-02-25 14:13:21 +01:00
2019-02-25 14:13:21 +01:00
2019-04-29 19:02:18 +02:00
2019-04-29 19:02:19 +02:00
2019-04-29 19:02:18 +02:00
2018-11-06 16:42:32 +01:00
2018-04-12 16:29:46 +02:00
2018-12-17 14:51:37 +01:00
2018-05-28 18:07:36 +02:00
2018-04-12 16:29:51 +02:00
2018-08-06 13:12:43 +02:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:18 +02:00
2019-04-29 19:02:19 +02:00
2018-04-12 16:29:55 +02:00
2019-02-25 14:13:28 +01:00
2019-02-25 14:13:28 +01:00
2019-02-25 14:13:32 +01:00
2018-03-26 15:09:39 +02:00
2018-04-12 16:29:46 +02:00
2019-04-25 14:17:38 +02:00
2018-12-17 14:51:43 +01:00
2018-04-12 16:29:51 +02:00
2018-08-06 13:12:41 +02:00
2018-04-20 19:18:16 +02:00
2019-04-29 19:02:19 +02:00
2019-04-29 19:02:19 +02:00
2019-03-19 14:12:31 +01:00
2019-02-25 14:13:39 +01:00
2019-03-26 10:32:13 -07:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:46 +02:00
2018-12-17 14:51:45 +01:00
2019-02-25 14:13:27 +01:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:18 +02:00
2019-04-29 19:02:17 +02:00
2019-04-29 19:02:17 +02:00
2019-01-03 18:57:57 -08:00
2018-04-12 16:29:46 +02:00
2018-08-06 13:12:43 +02:00
2019-02-25 14:13:33 +01:00
2018-12-17 14:51:37 +01:00
2018-12-17 14:51:43 +01:00
2019-04-29 19:02:18 +02:00
2019-04-29 19:02:18 +02:00
2018-12-17 14:51:50 +01:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:27 +01:00
2019-03-20 19:53:39 +01:00
2018-12-17 14:51:31 +01:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-30 16:46:53 +02:00
2019-03-13 17:14:27 +01:00
2019-02-25 14:13:30 +01:00
2019-04-29 19:02:19 +02:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:32 +01:00
2019-04-29 19:02:18 +02:00