]> git.ipfire.org Git - thirdparty/coreutils.git/commit
stat: only automount with --cached=never
authorPádraig Brady <P@draigBrady.com>
Mon, 7 Mar 2022 23:29:20 +0000 (23:29 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 7 Mar 2022 23:33:21 +0000 (23:33 +0000)
commit92cb8427c537f37edd43c5cef1909585201372ab
tree93d2c38127e5664ed960bf009a66fbc65228fcf3
parent85c975df2c25bd799370b04bb294e568e001102f
stat: only automount with --cached=never

Revert to the default behavior before the introduction of statx().

* src/stat.c (do_stat): Set AT_NO_AUTOMOUNT without --cached=never.
* doc/coreutils.texi (stat invocation): Mention the automount
behavior with --cached=never.
* NEWS: Mention the change in behavior.

Fixes https://bugs.gnu.org/54287
NEWS
doc/coreutils.texi
src/stat.c