Re: [PATCH v4 06/10] btrfs: start transaction in btrfs_set_prop_trans

2019-02-28 Thread David Sterba
On Thu, Feb 28, 2019 at 06:36:40PM +0800, Anand Jain wrote: > >> + if (!ret) { > >> + inode_inc_iversion(inode); > >> + inode->i_ctime = current_time(inode); > >> + set_bit(BTRFS_INODE_COPY_EVERYTHING, > >> &BTRFS_I(inode)->runtime_flags); > >> + ret = btrfs_up

Re: [PATCH v4 06/10] btrfs: start transaction in btrfs_set_prop_trans

2019-02-28 Thread Anand Jain
On 2/28/19 12:08 AM, David Sterba wrote: On Sat, Feb 23, 2019 at 01:39:48AM +0800, Anand Jain wrote: In preparation to make trans argument of btrfs_setxattr() a mandatory, start the transaction in btrfs_set_prop_trans. Signed-off-by: Anand Jain --- v4: born fs/btrfs/props.c | 21 +

Re: [PATCH v4 06/10] btrfs: start transaction in btrfs_set_prop_trans

2019-02-27 Thread David Sterba
On Sat, Feb 23, 2019 at 01:39:48AM +0800, Anand Jain wrote: > In preparation to make trans argument of btrfs_setxattr() a mandatory, > start the transaction in btrfs_set_prop_trans. > > Signed-off-by: Anand Jain > --- > v4: born > fs/btrfs/props.c | 21 - > 1 file changed, 20

[PATCH v4 06/10] btrfs: start transaction in btrfs_set_prop_trans

2019-02-22 Thread Anand Jain
In preparation to make trans argument of btrfs_setxattr() a mandatory, start the transaction in btrfs_set_prop_trans. Signed-off-by: Anand Jain --- v4: born fs/btrfs/props.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/fs/btrfs/props.c b/fs/btrfs/prop