Revert "Bluetooth: Store advertising handle so it can be re-enabled"
[platform/kernel/linux-rpi.git] / io_uring / fs.c
index 08e3b17..eccea85 100644 (file)
@@ -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);
 
-       lnk->oldpath = getname(oldf);
+       lnk->oldpath = getname_uflags(oldf, lnk->flags);
        if (IS_ERR(lnk->oldpath))
                return PTR_ERR(lnk->oldpath);