namei: introduce struct renamedata
In order to handle idmapped mounts we will extend the vfs rename helper to take two new arguments in follow up patches. Since this operations already takes a bunch of arguments add a simple struct renamedata and make the current helper use it before we extend it. Link: https://lore.kernel.org/r/20210121131959.646623-14-christian.brauner@ubuntu.com Cc: Christoph Hellwig <hch@lst.de> Cc: David Howells <dhowells@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: linux-fsdevel@vger.kernel.org Reviewed-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
Showing
- fs/cachefiles/namei.c 7 additions, 2 deletionsfs/cachefiles/namei.c
- fs/ecryptfs/inode.c 7 additions, 3 deletionsfs/ecryptfs/inode.c
- fs/namei.c 15 additions, 6 deletionsfs/namei.c
- fs/nfsd/vfs.c 7 additions, 1 deletionfs/nfsd/vfs.c
- fs/overlayfs/overlayfs.h 8 additions, 1 deletionfs/overlayfs/overlayfs.h
- include/linux/fs.h 11 additions, 1 deletioninclude/linux/fs.h
Loading
Please register or sign in to comment