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>
Wed, 9 Dec 2020 19:03:59 +0000 (12:03 -0700)
commite886663cfd029b64a1d8da7efae7014526d884e9
tree4de6bc7a526b3105d52c7fafb5f9dfb864fbdda1
parent14587a46646d30d2b4a6b69865682cfe6bbdcd1f
fs: make do_renameat2() take struct filename

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