Skip to content
Commit 214f80e2 authored by Jens Axboe's avatar Jens Axboe Committed by Greg Kroah-Hartman
Browse files

fs: make do_renameat2() take struct filename



[ Upstream commit e886663c ]

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: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 52cfde6b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment