[PATCH v2 0/6] relock file capability and locking fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is version #2.

Changes since #1:
1) add new "CIFS: Do not permit write to a range mandatory locked with a read lock" patch,
2) fix "CIFS: Fix write after setting a read lock for read oplock files" patch with Jeff suggestions,
3) add reviewed tags for patches that got them.

Original description:
This patchset is targeted to implement cifs_relock_file as well as to fix some bugs in a lock/oplock codepath. This is suitable for v3.8.

Pavel Shilovsky (6):
  CIFS: Separate pushing posix locks and lock_sem handling
  CIFS: Separate pushing mandatory locks and lock_sem handling
  CIFS: Implement cifs_relock_file
  CIFS: Fix lock consistensy bug in cifs_setlk
  CIFS: Do not permit write to a range mandatory locked with a read
    lock
  CIFS: Fix write after setting a read lock for read oplock files

 fs/cifs/cifsproto.h |    2 +-
 fs/cifs/file.c      |  167 +++++++++++++++++++++++++++++----------------------
 fs/cifs/smb2file.c  |   12 ----
 3 files changed, 95 insertions(+), 86 deletions(-)

-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux