https://github.com/torvalds/linux
Revision 441362d06be349430d06e37286adce4b90e6ce96 authored by Wei Yongjun on 11 March 2013, 15:01:37 UTC, committed by Steven Whitehouse on 04 April 2013, 08:53:10 UTC
The error code in gfs2_rs_alloc() is set to ENOMEM when error
but never be used, instead, gfs2_rs_alloc() always return 0.
Fix to return 'error'.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
1 parent 4146c3d
History
Tip revision: 441362d06be349430d06e37286adce4b90e6ce96 authored by Wei Yongjun on 11 March 2013, 15:01:37 UTC
GFS2: return error if malloc failed in gfs2_rs_alloc()
Tip revision: 441362d
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-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.0 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 244.0 KB
Makefile -rw-r--r-- 47.0 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top