summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2014-07-30 15:26:05 +0200
committerJ. Bruce Fields <bfields@redhat.com>2014-08-01 22:26:09 +0200
commitd9499a95716db0d4bc9b67e88fd162133e7d6b08 (patch)
tree139fca41ecbec1737b9bbae6e57480b59f98ef6b /block/blk-mq.c
parentnfsd: rename unhash_generic_stateid to unhash_ol_stateid (diff)
downloadlinux-d9499a95716db0d4bc9b67e88fd162133e7d6b08.tar.xz
linux-d9499a95716db0d4bc9b67e88fd162133e7d6b08.zip
NFSD: Decrease nfsd_users in nfsd_startup_generic fail
A memory allocation failure could cause nfsd_startup_generic to fail, in which case nfsd_users wouldn't be incorrectly left elevated. After nfsd restarts nfsd_startup_generic will then succeed without doing anything--the first consequence is likely nfs4_start_net finding a bad laundry_wq and crashing. Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Fixes: 4539f14981ce "nfsd: replace boolean nfsd_up flag by users counter" Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions