Home
last modified time | relevance | path

Searched hist:f73016b6 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/fuse/
H A Ddir.cf73016b6 Wed Aug 23 17:33:45 CDT 2023 Bernd Schubert <bschubert@ddn.com> fuse: conditionally fill kstat in fuse_do_statx()

The code path

fuse_update_attributes
fuse_update_get_attr
fuse_do_statx

has the risk to use a NULL pointer for struct kstat *stat, although current
callers of fuse_update_attributes() only set request_mask to values that
will trigger the call of fuse_do_getattr(), which already handles the NULL
pointer. Future updates might miss that fuse_do_statx() does not handle it
it is safer to add a condition already right now.

Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Fixes: d3045530bdd2 ("fuse: implement statx")
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>