Christoph Hellwig 4141472254 xfs: remove struct xfs_attr_shortform
sparse complains about struct xfs_attr_shortform because it embeds a
structure with a variable sized array in a variable sized array.

Given that xfs_attr_shortform is not a very useful structure, and the
dir2 equivalent has been removed a long time ago, remove it as well.

Provide a xfs_attr_sf_firstentry helper that returns the first
xfs_attr_sf_entry behind a xfs_attr_sf_hdr to replace the structure
dereference.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
2023-12-29 13:37:05 +05:30
..
2023-12-15 10:03:32 -08:00
2023-12-15 10:03:32 -08:00
2023-12-29 13:37:05 +05:30
2023-05-26 13:52:19 -07:00
2023-12-15 10:03:40 -08:00
2023-12-15 10:03:32 -08:00
2023-12-15 10:03:32 -08:00
2023-12-15 10:03:36 -08:00
2023-12-15 10:03:32 -08:00
2023-12-15 10:03:32 -08:00
2023-12-15 10:03:40 -08:00
2023-12-15 10:03:45 -08:00
2023-12-15 10:03:45 -08:00
2023-12-15 10:03:45 -08:00
2023-12-29 13:37:03 +05:30
2023-12-15 10:03:40 -08:00
2023-12-15 10:03:33 -08:00
2023-12-15 10:03:33 -08:00
2023-12-15 10:03:45 -08:00
2023-12-15 10:03:45 -08:00
2023-12-15 10:03:32 -08:00
2023-12-29 13:37:03 +05:30
2023-12-15 10:03:45 -08:00
2023-12-15 10:03:45 -08:00
2023-08-10 07:48:07 -07:00
2023-12-15 10:03:32 -08:00
2023-10-12 10:14:45 +05:30