[PATCH 2/6] libxfs/linux.c: Replace use of ustat by stat
Dave Chinner
david at fromorbit.com
Tue Jan 12 15:24:54 CST 2016
On Tue, Jan 12, 2016 at 08:59:45PM +0100, Felix Janda wrote:
> ustat has been used to check whether a device file is mounted.
> The function is deprecated and not supported by uclibc and musl.
> Now do the check using the *mntent functions.
Which will cause problems with builds on other platforms. Why not
just use statfs() instead?
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list