Skip to content

fs/lock: Cleanup around flock syscall.

Kuniyuki Iwashima linux-fsdevel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 1 replySuperseded
  3. v11 patch 3 repliesSuperseded

Changes in v3 from the cover letter

* Test LOCK_MAND first in patch 2

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fs/lock: Don't allocate file_lock in flock_make_lock().fs/locks.c+15 -311 reply
2/2fs/lock: Rearrange ops in flock syscall.fs/locks.c+19 -240 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchChuck Lever
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] fs/lock: Cleanup around flock syscall.

The first patch removes allocate-and-free for struct file_lock in flock syscall and the second patch rearrange some operations.

Changes:
v3:
* Test LOCK_MAND first in patch 2

v2: https://lore.kernel.org/linux-fsdevel/[email protected]/
* Use F_UNLCK in locks_remove_flock() (Chuck Lever)
* Fix uninitialised error in flock syscall (kernel test robot)
* Fix error when setting LOCK_NB
* Split patches not to mix different kinds of optimisations and
not to miss errors reported by kernel test robot

v1: https://lore.kernel.org/linux-fsdevel/[email protected]/

Kuniyuki Iwashima (2):
fs/lock: Don't allocate file_lock in flock_make_lock(). fs/lock: Rearrange ops in flock syscall.

 fs/locks.c | 77 ++++++++++++++++++++----------------------------------
 1 file changed, 28 insertions(+), 49 deletions(-)
Signature · 1 line
2.30.2