diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-07-06 16:10:37 +0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-07-07 00:03:05 +0400 |
commit | f9e59bcba2cff580a3ccf62e89460f9eed295d89 (patch) | |
tree | 0b1409174fa9e2be92b8b34b810749138f66dbee /fs/cifs/cifsfs.c | |
parent | b2a0fa152072f0085fa8d8eb0dbf9b3b0c5952fc (diff) | |
download | linux-f9e59bcba2cff580a3ccf62e89460f9eed295d89.tar.xz |
cifs: have cifs_cleanup_volume_info not take a double pointer
...as that makes for a cumbersome interface. Make it take a regular
smb_vol pointer and rely on the caller to zero it out if needed.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastryyy@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 35f9154615fa..e11b83149833 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -713,7 +713,7 @@ cifs_do_mount(struct file_system_type *fs_type, out_super: deactivate_locked_super(sb); out: - cifs_cleanup_volume_info(&volume_info); + cifs_cleanup_volume_info(volume_info); return root; out_mountdata: |