MS_* (MS_NOSUID ... etc) get redefined in <sys/mount.h> after we include
<linux/fs.h>, at least on my fairly old set of headers. Fix this by
simply removing the inclusion of mount.h, which isn't needed.
Fixes sparse warnings about this.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
*/
#include <sys/ioctl.h>
-#include <sys/mount.h>
#include "platform_defs.h"
#include "libxfs.h"
#include "path.h"
#include <mntent.h>
#include <sys/stat.h>
-#include <sys/mount.h>
#include <sys/ioctl.h>
#include <sys/sysinfo.h>