xfs: clean up pointer sign differences
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | xfs: directory names are unsignedfs/ | +2 | 1 reply | |
| 2/8 | xfs: convert DM ops to use unsigned char namesfs/ | +2 | 1 reply | |
| 3/8 | xfs: convert dirnameops to unsigned char namesfs/ fs/ fs/ | +7 | 1 reply | |
| 4/8 | xfs: make xfs_dir_cilookup_result use unsigned charfs/ fs/ | +3 | 1 reply | |
| 5/8 | xfs: xfs_buf_iomove() doesn't care about signednessfs/ fs/ | +2 | 1 reply | |
| 6/8 | xfs: convert attr to use unsigned namesfs/ fs/ fs/ +9 more | +90 | 1 reply | |
| 7/8 | xfs: clean up sign warnings in dir2 codefs/ fs/ fs/ +1 more | +8 | 1 reply | |
| 8/8 | xfs: make compile warn about char sign mismatches againfs/ fs/ | +5 | 2 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b |
| 7/8 | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] xfs: clean up pointer sign differences
This patch series cleans up all the pointer sign warnings when they are turned back on in the XFS build. These are the kernel equivalents of the libxfs changes I posted a last week. On Christoph's suggestion, I've made the changes for the kernel code so that we can fix the libxfs warnings simply by resyncing the userspce code with the kernel code.
Hence this makes all of the directory and attribute names and values unsigned chars and uses that consistently within XFS. The on disk formats are all unsigned, but the VFS is a mix of signed and unsigned interfaces.
The series converts all the names and values at the highest level to unsigned so the rest of the code doesn't need to juggle different signedness. It cleans up all the places where we have cast pointers, makes all functions take unsigned strings and so on.
Finally, it turns on the pointer sign warnings again (which are actually turned off globally in the build) so that we don't reintroduce new problems due to a lack of warnings being produced by the compiler.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs