Files
linux/fs
Steve French 71e6864eac smb3: do not error on fsync when readonly
Linux allows doing a flush/fsync on a file open for read-only,
but the protocol does not allow that.  If the file passed in
on the flush is read-only try to find a writeable handle for
the same inode, if that is not possible skip sending the
fsync call to the server to avoid breaking the apps.

Reported-by: Julian Sikorski <belegdol@gmail.com>
Tested-by: Julian Sikorski <belegdol@gmail.com>
Suggested-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
2021-11-10 16:28:27 -06:00
..
2021-08-19 09:02:55 +09:00
2021-10-25 19:11:50 -07:00
2021-08-26 22:28:02 +02:00
2021-10-18 14:43:23 -06:00
2021-08-19 09:02:55 +09:00
2021-10-18 14:43:22 -06:00
2021-10-26 19:08:08 +02:00
2021-10-19 05:49:54 -06:00
2021-06-29 10:53:48 -07:00
2021-10-19 14:11:39 -04:00
2021-08-10 17:57:22 +02:00