]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fuse: allocate ff->release_args only if release is needed
authorAmir Goldstein <amir73il@gmail.com>
Thu, 1 Feb 2024 13:30:05 +0000 (15:30 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 23 Feb 2024 16:36:32 +0000 (17:36 +0100)
commite26ee4efbc79610b20e7abe9d96c87f33dacc1ff
treea6b7cc409003d561d298a966e9de43e0eea08aa6
parent0c9d708953d02f74cea05a01cf3e2c8f5a9fbaf4
fuse: allocate ff->release_args only if release is needed

This removed the need to pass isdir argument to fuse_put_file().

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dir.c
fs/fuse/file.c
fs/fuse/fuse_i.h