Skip to content

backing_file accessors cleanup

Amir Goldstein linux-fsdevel 1 version Applied

Status from this message: Applied to the vfs-6.17.file branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2fs: constify file ptr in backing_file accessor helpersfs/backing-file.c fs/file_table.c fs/internal.h +1 more+14 -102 replies
2/2ovl: remove unneeded non-const conversionfs/overlayfs/file.c+1 -10 replies

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] backing_file accessors cleanup

Christian,

As promissed, here is the backing_file accessors cleanup that was dicussed on the overlayfs pr [1].

I have kept the ovl patch separate from the vfs patch, so that the vfs patch could be backported to stable kernels, because the ovl patch depends on master of today.

Thanks,
Amir.

[1] https://lore.kernel.org/linux-fsdevel/CAOQ4uxgFJCikAi4o4e9vzXTH=cUQGyvoo+cpdtfmBwJzutSCzw@mail.gmail.com/

Amir Goldstein (2):
fs: constify file ptr in backing_file accessor helpers
ovl: remove unneeded non-const conversion

 fs/backing-file.c   |  4 ++--
 fs/file_table.c     | 13 ++++++++-----
 fs/internal.h       |  1 +
 fs/overlayfs/file.c |  2 +-
 include/linux/fs.h  |  6 +++---
 5 files changed, 15 insertions(+), 11 deletions(-)
Signature · 1 line
2.34.1