aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorSilva Paulo <[email protected]>2012-07-14 22:39:58 +0000
committerLinus Torvalds <[email protected]>2012-07-14 22:39:58 +0000
commit68d740d79c4977a1a2197c6e68c618c8320c8ace (patch)
tree4903c072a0a4ea06fc52a744b431ba3427e8b8f1 /fs/jbd2/commit.c
parentMerge tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/... (diff)
downloadkernel-68d740d79c4977a1a2197c6e68c618c8320c8ace.tar.gz
kernel-68d740d79c4977a1a2197c6e68c618c8320c8ace.zip
blk: fix wrong idr_pre_get() error check in loop.c
The idr_pre_get() function never returns a value < 0. It returns 0 (no memory) or 1 (OK). Reported-by: Silva Paulo <[email protected]> [ Rewrote Silva's patch, but attributing it to Silva anyway - Linus ] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions