Home
last modified time | relevance | path

Searched hist:"97835 e6866796874571646a1a8ff44f24c0b39f7" (Results 1 – 3 of 3) sorted by relevance

/linux/fs/xfs/
H A Dxfs_attr_item.cdiff 97835e6866796874571646a1a8ff44f24c0b39f7 Wed May 22 08:02:01 CEST 2024 Darrick J. Wong <djwong@kernel.org> xfs: fix xfs_init_attr_trans not handling explicit operation codes

When we were converting the attr code to use an explicit operation code
instead of keying off of attr->value being null, we forgot to change the
code that initializes the transaction reservation. Split the function
into two helpers that handle the !remove and remove cases, then fix both
callsites to handle this correctly.

Fixes: c27411d4c640 ("xfs: make attr removal an explicit operation")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
/linux/fs/xfs/libxfs/
H A Dxfs_attr.hdiff 97835e6866796874571646a1a8ff44f24c0b39f7 Wed May 22 08:02:01 CEST 2024 Darrick J. Wong <djwong@kernel.org> xfs: fix xfs_init_attr_trans not handling explicit operation codes

When we were converting the attr code to use an explicit operation code
instead of keying off of attr->value being null, we forgot to change the
code that initializes the transaction reservation. Split the function
into two helpers that handle the !remove and remove cases, then fix both
callsites to handle this correctly.

Fixes: c27411d4c640 ("xfs: make attr removal an explicit operation")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
H A Dxfs_attr.cdiff 97835e6866796874571646a1a8ff44f24c0b39f7 Wed May 22 08:02:01 CEST 2024 Darrick J. Wong <djwong@kernel.org> xfs: fix xfs_init_attr_trans not handling explicit operation codes

When we were converting the attr code to use an explicit operation code
instead of keying off of attr->value being null, we forgot to change the
code that initializes the transaction reservation. Split the function
into two helpers that handle the !remove and remove cases, then fix both
callsites to handle this correctly.

Fixes: c27411d4c640 ("xfs: make attr removal an explicit operation")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>