Commit 6b750ac3 authored by jan.koester's avatar jan.koester
Browse files

some fixes

parent 86a3c814
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -453,17 +453,6 @@ long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg)
			rc = smb_mnt_get_tcon_info(tcon, (void __user *)arg);
			cifs_put_tlink(tlink);
			break;
		case CIFS_IOC_GET_TCON_INFO:
			cifs_sb = CIFS_SB(inode->i_sb);
			tlink = cifs_sb_tlink(cifs_sb);
			if (IS_ERR(tlink)) {
				rc = PTR_ERR(tlink);
				break;
			}
			tcon = tlink_tcon(tlink);
			rc = smb_mnt_get_tcon_info(tcon, (void __user *)arg);
			cifs_put_tlink(tlink);
			break;
		case CIFS_ENUMERATE_SNAPSHOTS:
			if (pSMBFile == NULL)
				break;