diff options
author | Steve French <sfrench@us.ibm.com> | 2005-10-11 20:03:18 -0700 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-10-11 20:03:18 -0700 |
commit | 47c786e79b46ef478a1123cb57c711ecb481cbfa (patch) | |
tree | 915f408208c8930ccefff3ea8a137ec5fd395b22 /fs/cifs/cifs_debug.c | |
parent | 1047abc159b4eb4ba4a7342a0969e16e9d4b4c69 (diff) | |
download | linux-47c786e79b46ef478a1123cb57c711ecb481cbfa.tar.bz2 |
[CIFS] Add null malloc response check in notify experimental code
Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r-- | fs/cifs/cifs_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index f4054d695f81..22a444a3fe4c 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c @@ -217,7 +217,7 @@ cifs_stats_write(struct file *file, const char __user *buffer, if (rc) return rc; - if (c == '1' || c == 'y' || c == 'Y') { + if (c == '1' || c == 'y' || c == 'Y' || c == '0') { read_lock(&GlobalSMBSeslock); list_for_each(tmp, &GlobalTreeConnectionList) { tcon = list_entry(tmp, struct cifsTconInfo, |