]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: don't advise readdirplus for negative lookup
authorMiklos Szeredi <mszeredi@redhat.com>
Mon, 21 Oct 2019 13:57:07 +0000 (15:57 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 21 Oct 2019 13:57:07 +0000 (15:57 +0200)
commit88d034fbfd2254e9ccfc9034702582ef77fb972b
tree33b74a968abe41628e510709d986fcb6f544681e
parent481521c9ddc120c49de52a6141d34c4da92b1514
fuse: don't advise readdirplus for negative lookup

If the FUSE_READDIRPLUS_AUTO feature is enabled, then lookups on a
directory before/during readdir are used as an indication that READDIRPLUS
should be used instead of READDIR.  However if the lookup turns out to be
negative, then selecting READDIRPLUS makes no sense.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dir.c