]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fstrim: cleanup includes
authorKarel Zak <kzak@redhat.com>
Thu, 22 Mar 2018 12:17:10 +0000 (13:17 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Jul 2018 13:58:25 +0000 (15:58 +0200)
commita85f961ee3b777e3a14bf80341b63d8403def3e8
tree97c4e44d22e7f24fce6e0434503e9c480c2dbf38
parente64f1efa713869d296a004e140ac06df2f518901
fstrim: cleanup includes

* HAVE_SYS_FS_H is incorrect (should be HAVE_LINUX_FS_H)

* linux/fs.h cannot be included together with sys/mount.h as the both
  files define MS_* constants. The libmount.h includes sys/mount.h now.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fstrim.c