Skip to content

xfs: error sign fixes for 3.15-rc6

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9xfs: xfs_dir_fsync() returns positive errnofs/xfs/xfs_file.c+1 -11 reply
2/9xfs: fix incorrect error sign in xfs_file_aio_readfs/xfs/xfs_file.c+1 -11 reply
3/9xfs: xfs_commit_metadata returns wrong errnofs/xfs/xfs_export.c+1 -11 reply
4/9xfs: correct error sign on COLLAPSE_RANGE errorsfs/xfs/xfs_file.c+2 -21 reply
5/9xfs: fix wrong errno from xfs_initxattrsfs/xfs/xfs_iops.c+4 -41 reply
6/9xfs: fix wrong err sign on xfs_set_acl()fs/xfs/xfs_iops.c+2 -21 reply
7/9xfs: negate mount workqueue init error valuefs/xfs/xfs_super.c+1 -11 reply
8/9xfs: negate xfs_icsb_init_counters error valuefs/xfs/xfs_super.c+1 -11 reply
9/9xfs: list_lru_init returns a negative errorfs/xfs/xfs_qm.c+14 -121 reply

Reviews trailers per patch

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

PatchJie Liu
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-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/9] xfs: error sign fixes for 3.15-rc6

Hi folks,

I've been working through the mess that is the
error sign impedance mismatch between the core XFS code and the rest of the kernel. I'm about half way through the codebase, and I've found a bunch of incorrect error signs throughout the VFS interface layers.

These were effectively all found by inspection, and is further evidence that we need to convert all of XFS to negative errors as quickly as possible. It is clear that we are missing these on review, and changes made by developers adding functionality to the VFS and hence just touching the outer layers of XFS are simply not aware of these issues in the first place.

This patchset is based on v3.15-rc5 because some of the problems that need to be fixed have merged into mainline via the ext4 tree (COLLAPSE_RANGE changes). Hence I'll need to update the master branch of the XFS tree to v3.15-rc5 before I merge these and push them to Linus. I'm considering them as important fixes as things like xfs_dir_fsync() and xfs_commit_metadata() returning incorrect errnos mean data integrity operation failures may not be detected correctly by applications.....

Comments, thoughts, testing all welcome!

Cheers,

Dave.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs