diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-06-11 10:27:28 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-06-13 08:17:30 +0000 |
commit | 8616e0fc1e27295316f9821a883f0e9fa6f8200f (patch) | |
tree | 99b3b5c887cb8d4ba244c51fdc9d5ba95102f6b3 /fs/cifs/cifspdu.h | |
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>
Diffstat (limited to 'fs/cifs/cifspdu.h')
0 files changed, 0 insertions, 0 deletions