commit | 579f9053236c796d718162c37c72bb3bd32d008c | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <pshilovsky@etersoft.ru> | Wed Sep 19 06:22:44 2012 -0700 |
committer | Steve French <smfrench@gmail.com> | Mon Sep 24 21:46:33 2012 -0500 |
tree | 4de2901dcba0a49b782068b70b5b28df90b20f4b | |
parent | 1b4b55a1d9404f51aacf1ff19887eb911484057d [diff] |
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>