aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-05-21 23:02:01 -0700
committerChandan Babu R <chandanbabu@kernel.org>2024-05-27 15:55:52 +0530
commit97835e6866796874571646a1a8ff44f24c0b39f7 (patch)
tree9c4a7d078222b12c6ccb20cd249e9bdba23ba6cc /net/unix/af_unix.c
parent2b3f004d3d518ec7a392066d935fd85c81412e33 (diff)
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions