Skip to content

Fix write leases on overlayfs

Amir Goldstein linux-fsdevel linux-integrity linux-unionfs stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vfs: replace i_readcount with a biased i_countinclude/linux/fs.h security/integrity/ima/ima_main.c+21 -147 replies
2/2locks: eliminate false positive conflicts for write leasefs/locks.c+16 -101 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix write leases on overlayfs

Miklos,

This series fixes a v4.19 regression.

It also provides correct semantics w.r.t RDONLY open counter that Bruce also needed for nfsd.

I marked both patches for stable v4.19.

I verified the changes using modified LTP fcntl tests [1], which I ran over xfs and overlayfs.

Thanks,
Amir.

[1] https://github.com/amir73il/ltp/commits/overlayfs-devel

Amir Goldstein (2):
vfs: replace i_readcount with a biased i_count
locks: eliminate false positive conflicts for write lease

 fs/locks.c                        | 26 ++++++++++++++----------
 include/linux/fs.h                | 33 +++++++++++++++++++------------
 security/integrity/ima/ima_main.c |  2 +-
 3 files changed, 37 insertions(+), 24 deletions(-)
Signature · 1 line
2.17.1