fuse: add fuse_dio_lock/unlock helper functions
authorBernd Schubert <bschubert@ddn.com>
Sat, 23 Dec 2023 23:05:53 +0000 (00:05 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 23 Feb 2024 16:36:32 +0000 (17:36 +0100)
commit9bbb6717dfd286a2861ca33273f4d7c3e65423b0
treebec0a2535055ec708a0eebfcb9a2753f4459c313
parent699cf8246ee4c2c524f18c2e395909d16e7fda1b
fuse: add fuse_dio_lock/unlock helper functions

So far this is just a helper to remove complex locking logic out of
fuse_direct_write_iter.  Especially needed by the next patch in the series
to that adds the fuse inode cache IO mode and adds in even more locking
complexity.

Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c