diff options
author | Steve French <stfrench@microsoft.com> | 2019-07-16 18:55:38 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-11-25 01:14:14 -0600 |
commit | d0677992d2af3d65f1c1c21de3323d09d4891537 (patch) | |
tree | 77c2daf3008dd03a3b0f8af179119cb26dc1f5ec /fs/fhandle.c | |
parent | be1bf978e5d7cf26a78091ce1dd7c77ac64a658f (diff) |
cifs: add support for flock
The flock system call locks the whole file rather than a byte
range and so is currently emulated by various other file systems
by simply sending a byte range lock for the whole file.
Add flock handling for cifs.ko in similar way.
xfstest generic/504 passes with this as well
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/fhandle.c')
0 files changed, 0 insertions, 0 deletions