]> git.ipfire.org Git - thirdparty/coreutils.git/commit
df: avoid querying excluded file systems
authorPhilipp Thomas <pth@suse.de>
Mon, 27 Mar 2017 05:34:00 +0000 (22:34 -0700)
committerPádraig Brady <P@draigBrady.com>
Mon, 27 Mar 2017 05:48:33 +0000 (22:48 -0700)
commit7c228bc55ed3fd6d56a6ad135438066de2f54a30
tree79b6d838873cdb19fc344218dbbe1e1aa0d485f9
parent8e7bcdd8064c1e0a817c7effe4bae39741c258d3
df: avoid querying excluded file systems

* src/df.c (filter_mount_list): Avoid stat() on
explicitly excluded file systems, which is especially
significant in cases like `-x nfs` which may hang.
* NEWS: Mention the bug fix.
NEWS
src/df.c