Thread (29 messages) flat view 29 messages, 5 authors, 2021-04-11

Re: [PATCH v4] flock.2: add CIFS details

From: Aurélien Aptel <hidden>
Date: 2021-03-16 10:43:16
Also in: linux-cifs, linux-fsdevel

Pavel Shilovsky [off-list ref] writes:
It is not only about writing to a locked file. It is also about any IO
against a locked file if such a file is locked through another file
handle. Right?
Yes that was implied, the write was a simple example to illustrate. I'll
update to make it more generic:

  Another important side-effect is that the locks are not advisory anymore:
  any IO on a locked file will always fail with EACCES,
  even when done from a separate file descriptor.

If you have comments please provide direct text suggestion to save time.

Cheers,
-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help