projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
serial: imx: Correct clock error message in function probe()
[platform/kernel/linux-starfive.git]
/
io_uring
/
fs.c
diff --git
a/io_uring/fs.c
b/io_uring/fs.c
index
08e3b17
..
eccea85
100644
(file)
--- a/
io_uring/fs.c
+++ b/
io_uring/fs.c
@@
-254,7
+254,7
@@
int io_linkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
newf = u64_to_user_ptr(READ_ONCE(sqe->addr2));
lnk->flags = READ_ONCE(sqe->hardlink_flags);
newf = u64_to_user_ptr(READ_ONCE(sqe->addr2));
lnk->flags = READ_ONCE(sqe->hardlink_flags);
- lnk->oldpath = getname
(oldf
);
+ lnk->oldpath = getname
_uflags(oldf, lnk->flags
);
if (IS_ERR(lnk->oldpath))
return PTR_ERR(lnk->oldpath);
if (IS_ERR(lnk->oldpath))
return PTR_ERR(lnk->oldpath);