libxfs: resync with the userspace libxfs
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 16 Dec 2019 19:14:09 +0000 (11:14 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 19 Dec 2019 15:53:47 +0000 (07:53 -0800)
commitaf952aeb4a8717fe4c7a872d9699fcfa85aa9e1c
tree02e566bf100ac8f7ed843078e31c8af9823d36bf
parent826f7e34130a4ce756138540170cbe935c537a47
libxfs: resync with the userspace libxfs

Prepare to resync the userspace libxfs with the kernel libxfs.  There
were a few things I missed -- a couple of static inline directory
functions that have to be exported for xfs_repair; a couple of directory
naming functions that make porting much easier if they're /not/ static
inline; and a u16 usage that should have been uint16_t.

None of these things are bugs in their own right; this just makes
porting xfsprogs easier.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_dir2.c
fs/xfs/libxfs/xfs_dir2_priv.h
fs/xfs/libxfs/xfs_dir2_sf.c