diff options
author | Pavel Shilovsky <pshilovsky@etersoft.ru> | 2012-09-19 15:22:44 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-25 04:46:33 +0200 |
commit | 579f9053236c796d718162c37c72bb3bd32d008c (patch) | |
tree | 4de2901dcba0a49b782068b70b5b28df90b20f4b /fs/cifs/cifsglob.h | |
parent | CIFS: Turn lock mutex into rw semaphore (diff) | |
download | linux-579f9053236c796d718162c37c72bb3bd32d008c.tar.xz linux-579f9053236c796d718162c37c72bb3bd32d008c.zip |
CIFS: Check for mandatory brlocks on read/write
Currently CIFS code accept read/write ops on mandatory locked area
when two processes use the same file descriptor - it's wrong.
Fix this by serializing io and brlock operations on the inode.
Signed-off-by: Pavel Shilovsky <pshilovsky@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
0 files changed, 0 insertions, 0 deletions