diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2014-07-30 21:26:05 +0800 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-09-17 15:12:24 +0200 |
commit | a6efb1347048618cf3ef8c3959b732a4b0989749 (patch) | |
tree | 6226bea1d121846eec926ae9a978f562efd5aa67 /net | |
parent | f576af6bb6af8db0ecb8f766650faaf98a701919 (diff) | |
download | linux-rt-a6efb1347048618cf3ef8c3959b732a4b0989749.tar.gz |
NFSD: Decrease nfsd_users in nfsd_startup_generic fail
commit d9499a95716db0d4bc9b67e88fd162133e7d6b08 upstream.
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"
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions