Skip to content
Commit 5657cb07 authored by Jens Axboe's avatar Jens Axboe
Browse files

fs/fcntl: use copy_to/from_user() for u64 types



Some architectures (at least PPC) doesn't like get/put_user with
64-bit types on a 32-bit system. Use the variably sized copy
to/from user variants instead.

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Fixes: c75b1d94

 ("fs: add fcntl() interface for setting/getting write life time hints")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e9d5d4a0
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