https://github.com/torvalds/linux
Revision 57cfc1060f35ac2345cb37ea474f9644ac5cfd75 authored by Alex Elder on 26 June 2012, 19:57:03 UTC, committed by Sage Weil on 31 July 2012, 01:21:46 UTC
Either rbd_create_rw_ops() will succeed, or it will fail because a
memory allocation failed.  Have it just return a valid pointer or
null rather than stuffing a pointer into a provided address and
returning an errno.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com> 
1 parent 4e891e0
History
Tip revision: 57cfc1060f35ac2345cb37ea474f9644ac5cfd75 authored by Alex Elder on 26 June 2012, 19:57:03 UTC
rbd: make rbd_create_rw_ops() return a pointer
Tip revision: 57cfc10
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 207.4 KB
Makefile -rw-r--r-- 46.0 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top