OSDN Git Service

xfs: remove the data_dot_offset field in struct xfs_dir_ops
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Nov 2019 23:05:30 +0000 (15:05 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 11 Nov 2019 00:54:22 +0000 (16:54 -0800)
commit1682310474b2f223951ee46f21e34eb462cf71c2
treecbb52d19ac74d1b0d7ca79b9332d01f077e5c122
parentc81484e2b97f27683b5bdc3aee266d4685a48f8b
xfs: remove the data_dot_offset field in struct xfs_dir_ops

The data_dot_offset value is always equal to data_entry_offset given
that "." is always the first entry in the directory.

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>
fs/xfs/libxfs/xfs_da_format.c
fs/xfs/libxfs/xfs_dir2.h
fs/xfs/xfs_dir2_readdir.c