[0/2] fuse: fixes for remote locking

Message ID 20230608084609.14245-1-zhangjiachen.jaycee@bytedance.com
Headers
Series fuse: fixes for remote locking |

Message

Jiachen Zhang June 8, 2023, 8:46 a.m. UTC
  Hi all,

This patchset fixes some small issues of fuse remoting locking.

The first patch fixes the missing automatic unlock of fcntl(2) OFD lock.
The second patch remove some deadcode for clearness.

Thanks,
Jiachen

Jiachen Zhang (2):
  fuse: support unlock remote OFD locks on file release
  fuse: remove an unnecessary if statement

 fs/fuse/file.c   | 21 ++++++++++++++-------
 fs/fuse/fuse_i.h |  2 +-
 2 files changed, 15 insertions(+), 8 deletions(-)