]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fuse: drop redundant check in fuse_sync_bucket_alloc()
authorLi Wang <liwang@kylinos.cn>
Tue, 21 Apr 2026 03:38:16 +0000 (11:38 +0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 15 Jun 2026 12:06:18 +0000 (14:06 +0200)
commitd3aa89c9bfb7cd72a7025ebbb92275128d28afbd
tree2d4cba70ccd6564ccb03d312f03ef9fa79708e20
parentfde04c3d6f2bbc5c8fe25c99fd640f57e1e80d10
fuse: drop redundant check in fuse_sync_bucket_alloc()

kzalloc_obj with __GFP_NOFAIL is documented to never return failure,
and checking for NULL is redundant (__GFP_NOFAIL in gfp_types.h).

Signed-off-by: Li Wang <liwang@kylinos.cn>
Reviewed-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/inode.c