Skip to content

btrfs: error path fixes for btrfs_link() and a cleanup

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: abort transaction on failure to add link to inodefs/btrfs/inode.c+6 -21 reply
2/3btrfs: fix inode leak on failure to add link to inodefs/btrfs/inode.c+2 -01 reply
3/3btrfs: simplify error handling logic for btrfs_link()fs/btrfs/inode.c+19 -263 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJohannes Thumshirn
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] btrfs: error path fixes for btrfs_link() and a cleanup

From: Filipe Manana <[email protected]>

Fix a couple bugs in the error paths for btrfs_link() and a cleanup to make it more simple.

Filipe Manana (3):
btrfs: abort transaction on failure to add link to inode
btrfs: fix inode leak on failure to add link to inode
btrfs: simplify error handling logic for btrfs_link()

 fs/btrfs/inode.c | 43 +++++++++++++++++++++----------------------
 1 file changed, 21 insertions(+), 22 deletions(-)
Signature · 1 line
2.47.2