Christoph Hellwig da3ca0df8b xfs: remove the ->data_dot_entry_p and ->data_dotdot_entry_p methods
The only user of the ->data_dot_entry_p and ->data_dotdot_entry_p
methods is the xfs_dir2_sf_to_block function that builds block format
directorys from a short form directory.  It already uses pointer
arithmetics with a offset variable to do so for the real entries in
the directory, so switch the generation of the . and .. entries to
the same scheme, and clean up some of the later pointer arithmetics
to use bp->b_addr directly as well and avoid some casts.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2019-11-10 16:54:22 -08:00
..
2019-11-10 10:21:57 -08:00
2019-08-26 17:43:15 -07:00
2018-06-06 14:17:53 -07:00
2019-11-07 13:00:53 -08:00
2018-06-06 14:17:53 -07:00
2019-10-28 08:37:54 -07:00
2019-10-28 08:37:54 -07:00
2019-11-10 10:21:57 -08:00
2019-10-28 08:37:54 -07:00
2019-11-07 13:00:53 -08:00
2019-11-04 13:55:54 -08:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2019-11-04 13:55:54 -08:00
2019-11-07 13:00:53 -08:00
2018-06-06 14:17:53 -07:00
2019-07-03 08:21:58 -07:00
2019-07-03 08:21:58 -07:00
2019-06-28 19:30:43 -07:00
2019-11-04 13:55:54 -08:00
2019-04-23 08:36:23 -07:00
2019-06-28 19:30:43 -07:00
2019-11-07 13:00:53 -08:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2019-11-07 13:00:53 -08:00