diff options
author | Jens Axboe <axboe@kernel.dk> | 2017-06-28 08:09:45 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-28 08:09:45 -0600 |
commit | 5657cb0797c4ab303f5782442095319bd971257b (patch) | |
tree | ca0b3a6843965f6da3128472491f47cd3f6f3785 /fs/ntfs/aops.c | |
parent | e9d5d4a0c13f47e331e39a4c66a9b3da701b280b (diff) | |
download | linux-stable-5657cb0797c4ab303f5782442095319bd971257b.tar.gz linux-stable-5657cb0797c4ab303f5782442095319bd971257b.tar.bz2 linux-stable-5657cb0797c4ab303f5782442095319bd971257b.zip |
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: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: c75b1d9421f8 ("fs: add fcntl() interface for setting/getting write life time hints")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ntfs/aops.c')
0 files changed, 0 insertions, 0 deletions