commit | 8616e0fc1e27295316f9821a883f0e9fa6f8200f | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Thu Jun 11 10:27:28 2009 -0400 |
committer | Steve French <sfrench@us.ibm.com> | Sat Jun 13 08:17:30 2009 +0000 |
tree | 99b3b5c887cb8d4ba244c51fdc9d5ba95102f6b3 | |
parent | f3ad116588151b3371ae4e092290e4f48e62b8bb [diff] |
cifs: remove unneeded NULL checks from cifs_show_options show_options is always called with the namespace_sem held. Therefore we don't need to worry about the vfsmount being NULL, or it vanishing while the function is running. By the same token, there's no need to worry about the superblock, tcon, smb or tcp sessions being NULL on entry. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>