fs: fix inode->i_flctx accesses
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | filelock: add a new locks_inode_context accessor functionfs/ include/ | +24 | 2 replies | |
| 2/7 | ceph: use locks_inode_context helperfs/ | +2 | 2 replies | |
| 3/7 | cifs: use locks_inode_context helperfs/ | +1 | 1 reply | |
| 4/7 | ksmbd: use locks_inode_context helperfs/ | +1 | 2 replies | |
| 5/7 | lockd: use locks_inode_context helperfs/ | +2 | 1 reply | |
| 6/7 | nfs: use locks_inode_context helperfs/ fs/ fs/ +1 more | +5 | 1 reply | |
| 7/7 | nfsd: use locks_inode_context helperfs/ | +3 | 3 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Chuck Lever | Christoph Hellwig | Namjae Jeon | Xiubo Li |
|---|---|---|---|---|
| 1/7 | R-b | |||
| 2/7 | R-b | R-b | ||
| 3/7 | R-b | |||
| 4/7 | R-b | A-b | ||
| 5/7 | R-b | |||
| 6/7 | R-b | |||
| 7/7 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/7] fs: fix inode->i_flctx accesses
The inode->i_flctx field is set via a cmpxchg operation, which is a release op. This means that most callers need to use an acquire to access it.
This series adds a new helper function for that, and replaces the existing accesses of i_flctx with that. The later patches then convert the various subsystems that access i_flctx directly to use the new helper.
Assuming there are no objectsions, I'll plan to merge this for v6.2 via my tree. If any maintainers want to take the subsystem patches in via their trees, let me know and we'll work it out.
Jeff Layton (7):
filelock: add a new locks_inode_context accessor function
ceph: use locks_inode_context helper
cifs: use locks_inode_context helper
ksmbd: use locks_inode_context helper
lockd: use locks_inode_context helper
nfs: use locks_inode_context helper
nfsd: use locks_inode_context helper
fs/ceph/locks.c | 4 ++-- fs/cifs/file.c | 2 +- fs/ksmbd/vfs.c | 2 +- fs/lockd/svcsubs.c | 4 ++-- fs/locks.c | 20 ++++++++++---------- fs/nfs/delegation.c | 2 +- fs/nfs/nfs4state.c | 2 +- fs/nfs/pagelist.c | 2 +- fs/nfs/write.c | 4 ++-- fs/nfsd/nfs4state.c | 6 +++--- include/linux/fs.h | 14 ++++++++++++++ 11 files changed, 38 insertions(+), 24 deletions(-)
Signature · 1 line
2.38.1