https://github.com/torvalds/linux
Revision 4e891e0af0f0011c90067373c46d7228568ec079 authored by Alex Elder on 11 July 2012, 01:30:10 UTC, committed by Sage Weil on 31 July 2012, 01:21:45 UTC
It's not obvious whether the snapshot pointer whose address is
provided to __rbd_add_snap_dev() will be assigned by that function.
Change it to return the snapshot, or a pointer-coded errno in the
event of a failure.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com> 
1 parent 6139919
History
Tip revision: 4e891e0af0f0011c90067373c46d7228568ec079 authored by Alex Elder on 11 July 2012, 01:30:10 UTC
rbd: have __rbd_add_snap_dev() return a pointer
Tip revision: 4e891e0
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