Skip to content

vfs: finish rename -> rename2 conversion

Miklos Szeredi linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ncpfs: fix unused variable warningfs/ncpfs/dir.c+1 -20 replies
2/7fs: support RENAME_NOREPLACE for local filesystemsfs/affs/affs.h fs/affs/dir.c fs/affs/namei.c +18 more+117 -403 replies
3/7libfs: support RENAME_NOREPLACE in simple_rename()fs/debugfs/inode.c fs/hugetlbfs/inode.c fs/libfs.c +3 more+11 -61 reply
4/7fs: make remaining filesystems use .rename2drivers/staging/lustre/lustre/llite/namei.c fs/9p/v9fs.h fs/9p/vfs_inode.c +15 more+84 -335 replies
5/7vfs: remove unused i_op->renameDocumentation/filesystems/Locking Documentation/filesystems/directory-locking Documentation/filesystems/vfs.txt +4 more+10 -310 replies
6/7fs: rename "rename2" i_op to "rename"Documentation/filesystems/Locking Documentation/filesystems/vfs.txt drivers/staging/lustre/lustre/llite/namei.c +52 more+63 -630 replies
7/7vfs: add note about i_op->rename changes to portingDocumentation/filesystems/porting+4 -00 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchGreg Kroah-HartmanDavid HowellsBoaz Harrosh: Mike MarshallRichard WeinbergerBob CopelandJan Kara
1/7
2/7A-b A-b A-b
3/7A-b
4/7A-b A-b ACK-by A-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] vfs: finish rename -> rename2 conversion

This series gets rid of the duplicate interfaces for rename. The only difference between the two that the new, i_op->rename2() has an added flags argument. This needs to be handled in each instance.

For 21 local filesystems the RENAME_NOREPLACE flag can be supported "for free", just by moving to the new interface and allowing this flag. The remaining 12 distributed filesystems are converted too, which only allow zero flags.

Git tree is here.

git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git#rename2

Thanks,
Miklos
---

Miklos Szeredi (7):
ncpfs: fix unused variable warning
fs: support RENAME_NOREPLACE for local filesystems
libfs: support RENAME_NOREPLACE in simple_rename()
fs: make remaining filesystems use .rename2
vfs: remove unused i_op->rename
fs: rename "rename2" i_op to "rename"
vfs: add note about i_op->rename changes to porting

 Documentation/filesystems/Locking           |  8 ++------
 Documentation/filesystems/directory-locking |  2 +-
 Documentation/filesystems/porting           |  4 ++++
 Documentation/filesystems/vfs.txt           |  9 ++-------
 drivers/staging/lustre/lustre/llite/namei.c |  8 ++++++--
 fs/9p/v9fs.h                                |  3 ++-
 fs/9p/vfs_inode.c                           |  6 +++++-
 fs/affs/affs.h                              |  3 ++-
 fs/affs/namei.c                             |  6 +++++-
 fs/afs/dir.c                                |  9 +++++++--
 fs/bad_inode.c                              |  2 +-
 fs/bfs/dir.c                                |  6 +++++-
 fs/btrfs/inode.c                            |  2 +-
 fs/cachefiles/namei.c                       |  3 +--
 fs/ceph/dir.c                               |  6 +++++-
 fs/cifs/cifsfs.c                            |  2 +-
 fs/coda/dir.c                               |  6 +++++-
 fs/debugfs/inode.c                          |  2 +-
 fs/ecryptfs/inode.c                         |  6 +++++-
 fs/exofs/namei.c                            |  8 ++++++--
 fs/ext2/namei.c                             |  6 +++++-
 fs/ext4/namei.c                             |  2 +-
 fs/f2fs/namei.c                             |  2 +-
 fs/fat/namei_msdos.c                        |  6 +++++-
 fs/fat/namei_vfat.c                         |  6 +++++-
 fs/fuse/dir.c                               |  2 +-
 fs/gfs2/inode.c                             |  2 +-
 fs/hfs/dir.c                                |  6 +++++-
 fs/hfsplus/dir.c                            |  6 +++++-
 fs/hostfs/hostfs_kern.c                     |  2 +-
 fs/hpfs/namei.c                             |  6 +++++-
 fs/jffs2/dir.c                              |  9 +++++++--
 fs/jfs/namei.c                              |  5 ++++-
 fs/kernfs/dir.c                             |  6 +++++-
 fs/libfs.c                                  |  6 +++++-
 fs/logfs/dir.c                              |  6 +++++-
 fs/minix/namei.c                            |  6 +++++-
 fs/namei.c                                  | 15 +++------------
 fs/ncpfs/dir.c                              | 11 +++++++----
 fs/nfs/dir.c                                |  6 +++++-
 fs/nfs/internal.h                           |  3 ++-
 fs/nilfs2/namei.c                           |  6 +++++-
 fs/ocfs2/namei.c                            |  6 +++++-
 fs/omfs/dir.c                               |  6 +++++-
 fs/orangefs/namei.c                         |  6 +++++-
 fs/overlayfs/dir.c                          |  2 +-
 fs/overlayfs/overlayfs.h                    |  4 ++--
 fs/reiserfs/namei.c                         |  6 +++++-
 fs/sysv/namei.c                             |  6 +++++-
 fs/ubifs/dir.c                              |  8 ++++++--
 fs/udf/namei.c                              |  6 +++++-
 fs/ufs/namei.c                              |  6 +++++-
 fs/xfs/xfs_iops.c                           |  4 ++--
 include/linux/fs.h                          |  5 ++---
 mm/shmem.c                                  |  2 +-
 security/tomoyo/realpath.c                  |  4 ++--
 56 files changed, 206 insertions(+), 91 deletions(-)
Signature · 1 line
2.5.5