]> 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)
commitbd1a4114d7666bced195dd52f4e0ab977fdc8871
tree33b74a968abe41628e510709d986fcb6f544681e
parent2c1b1105dd526d26a65f9cab98c59d9a497936c1
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