]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_spaceman: remove incorrect linux/fs.h include
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Mar 2018 22:43:37 +0000 (17:43 -0500)
committerEric Sandeen <sandeen@redhat.com>
Tue, 27 Mar 2018 22:43:37 +0000 (17:43 -0500)
Remove the direct linux/fs.h include from spaceman because all xfs
utilities should include xfs.h so that we can wrap missing kernel header
declarations properly.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
spaceman/trim.c

index 6df9e6a968ebc9cdeba57542c07853afcd179d90..c1efb524a5b68bba153ef5c3c57563406fbcc73e 100644 (file)
@@ -17,7 +17,6 @@
  */
 
 #include "libxfs.h"
-#include <linux/fs.h>
 #include "command.h"
 #include "init.h"
 #include "path.h"