We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0d45c3 commit 8479063Copy full SHA for 8479063
io_uring/fs.c
@@ -254,7 +254,7 @@ int io_linkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
254
newf = u64_to_user_ptr(READ_ONCE(sqe->addr2));
255
lnk->flags = READ_ONCE(sqe->hardlink_flags);
256
257
- lnk->oldpath = getname(oldf);
+ lnk->oldpath = getname_uflags(oldf, lnk->flags);
258
if (IS_ERR(lnk->oldpath))
259
return PTR_ERR(lnk->oldpath);
260
0 commit comments