fs: push the getname from do_rmdir into the callers
authorChristoph Hellwig <hch@lst.de>
Tue, 21 Jul 2020 08:48:15 +0000 (10:48 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 31 Jul 2020 06:17:50 +0000 (08:17 +0200)
commite24ab0ef689de43649327f54cd1088f3dad25bb3
treea881b2211673900bad6cede1129f7840ff628df3
parent41525f56e2564c2feff4fb2824823900efb3a39f
fs: push the getname from do_rmdir into the callers

This mirrors do_unlinkat and will make life a little easier for
the init code to reuse the whole function with a kernel filename.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/internal.h
fs/namei.c
include/linux/syscalls.h