diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-05-24 13:41:01 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-06-24 08:56:40 +0200 |
commit | 3534b8508e4b21eec0b7b839f7234a9b6fe27d03 (patch) | |
tree | abca5bc7bb74168ffb6a8a9ff09cd99a3217f639 /fs/jffs2/jffs2_fs_i.h | |
parent | cifs: make decode_ascii_ssetup void return (diff) | |
download | linux-3534b8508e4b21eec0b7b839f7234a9b6fe27d03.tar.xz linux-3534b8508e4b21eec0b7b839f7234a9b6fe27d03.zip |
cifs: throw a warning if negotiate or sess_setup ops are passed NULL server or session pointers
These look pretty cargo-culty to me, but let's be certain. Leave
them in place for now. Pop a WARN if it ever does happen. Also,
move to a more standard idiom for setting the "server" pointer.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/jffs2/jffs2_fs_i.h')
0 files changed, 0 insertions, 0 deletions