fs: add support for AT_STATX_CACHED
authorJens Axboe <axboe@kernel.dk>
Mon, 14 Dec 2020 17:48:38 +0000 (10:48 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Jan 2021 01:07:25 +0000 (18:07 -0700)
commitaf5e80eb3a826c6a8f52adca19ad1333fd354791
treee6370dd5225b60efe66bf9fd26746fe7effcb286
parent511975a8b18e660ea0e7b5b4947e5c40999943ed
fs: add support for AT_STATX_CACHED

Since we now have LOOKUP_CACHED to only perform a fast lookup of the
dentry cache for path resolution, expose this as AT_STATX_CACHED to
provide the same functionality on the statx side.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/stat.c
include/uapi/linux/fcntl.h