]> 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>
Thu, 22 Mar 2018 12:17:10 +0000 (13:17 +0100)
commit43abda66869e749044c6c4fd1d106d7df9484aca
tree9352e06c3869360ac2cd1324faca20ac5bd48926
parent314a214517eed88638ff22419fcae12076463890
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