fs: make do_renameat2() take struct filename
authorJens Axboe <axboe@kernel.dk>
Sat, 26 Sep 2020 23:20:17 +0000 (17:20 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Dec 2022 21:30:33 +0000 (14:30 -0700)
commitaa359e48cc999513b0167703009d3db363818540
tree63f5bd2c8649590a5ee2b3f4eb89917c668dfe71
parenta70e1337ccd380cbb8b647c1645ded7f3bf7a136
fs: make do_renameat2() take struct filename

[ Upstream commit e886663cfd029b64a1d8da7efae7014526d884e9 ]

Pass in the struct filename pointers instead of the user string, and
update the three callers to do the same.

This behaves like do_unlinkat(), which also takes a filename struct and
puts it when it is done. Converting callers is then trivial.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/internal.h
fs/namei.c