Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

[PATCH] Fix missing ret assignment in __bio_map_user() error path

If get_user_pages() returns less pages than what we asked for, we jump
to out_unmap which will return ERR_PTR(ret).  But ret can contain a
positive number just smaller than local_nr_pages, so be sure to set it
to -EFAULT always.

Problem found and diagnosed by Damien Le Moal <damien@sdl.hitachi.co.jp>

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
latest commit 991721572e
Jens Axboe authored Linus Torvalds committed
..
Failed to load latest commit information.
9p
adfs
affs
afs
autofs
autofs4 [PATCH] autofs4: NFY_NONE wait race fix
befs
bfs [PATCH] Make most file operations structs in fs/ const
cifs
coda
configfs
cramfs
debugfs
devfs
devpts
efs
exportfs [PATCH] NFS server subtree_check returns dubious value
ext2
ext3
fat
freevxfs
fuse
hfs
hfsplus
hostfs
hpfs
hppfs
hugetlbfs
isofs
jbd
jffs [PATCH] Make most file operations structs in fs/ const
jffs2
jfs
lockd
minix
msdos
ncpfs
nfs
nfs_common [PATCH] nfsacl: Solaris VxFS compatibility fix
nfsd
nls [PATCH] fs: Use ARRAY_SIZE macro
ntfs
ocfs2 ocfs2: fix gfp mask in some file system paths
openpromfs [PATCH] Make most file operations structs in fs/ const
partitions
proc [PATCH] Fix file lookup without ref
qnx4
ramfs
reiserfs
romfs
smbfs
sysfs [PATCH] sysfs: Allow sysfs attribute files to be pollable
sysv BUG_ON() Conversion in fs/sysv/
udf
ufs
vfat
xfs
Kconfig [PATCH] hugetlbfs: add Kconfig help text
Kconfig.binfmt
Makefile configfs: Make sure configfs_init() is called before consumers.
aio.c
attr.c
bad_inode.c
binfmt_aout.c
binfmt_elf.c [PATCH] x86_64: Increase the variability of the process stack on 64bi…
binfmt_elf_fdpic.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c [PATCH] Make most file operations structs in fs/ const
binfmt_script.c Linux-2.6.12-rc2
binfmt_som.c
bio.c [PATCH] Fix missing ret assignment in __bio_map_user() error path
block_dev.c [PATCH] Add ->splice_read/splice_write to def_blk_fops
buffer.c
char_dev.c [PATCH] Simplify proc/devices and fix early termination regression
compat.c
compat_ioctl.c
dcache.c
dcookies.c
direct-io.c BUG_ON() Conversion in fs/direct-io.c
dnotify.c [PATCH] Use __read_mostly on some hot fs variables
dquot.c
drop_caches.c
eventpoll.c [PATCH] uniform POLLRDHUP handling between epoll and poll/select
exec.c
fcntl.c
fifo.c [PATCH] pipe.c/fifo.c code cleanups
file.c
file_table.c [PATCH] get_empty_filp tweaks, inline epoll_init_file()
filesystems.c
fs-writeback.c
inode.c
inotify.c
ioctl.c [PATCH] capable/capability.h (fs/)
ioprio.c
libfs.c
locks.c [PATCH] Return error in case flock_lock_file failure
mbcache.c [PATCH] Typo fixes
mpage.c [PATCH] map multiple blocks for mpage_readpages()
namei.c
namespace.c
nfsctl.c
open.c
pipe.c
pnode.c
pnode.h
posix_acl.c
quota.c
quota_v1.c
quota_v2.c [PATCH] sem2mutex: quota
read_write.c [PATCH] splice: unlikely() optimizations
readdir.c
select.c
seq_file.c
splice.c [PATCH] splice: redo page lookup if add_to_page_cache() returns -EEXIST
stat.c
super.c
sync.c [PATCH] sync_file_range(): use unsigned for flags
xattr.c
xattr_acl.c Linux-2.6.12-rc2
Something went wrong with that request. Please try again.