[CIFS] Missing parenthesis and typo in previous fix
Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
@@ -921,7 +921,7 @@ static int cifs_dnotify_thread(void * dummyarg)
|
|||||||
ses = list_entry(tmp, struct cifsSesInfo,
|
ses = list_entry(tmp, struct cifsSesInfo,
|
||||||
cifsSessionList);
|
cifsSessionList);
|
||||||
if(ses && ses->server &&
|
if(ses && ses->server &&
|
||||||
atomic_read(&ses->server->inSend))
|
atomic_read(&ses->server->inFlight))
|
||||||
wake_up_all(&ses->server->response_q);
|
wake_up_all(&ses->server->response_q);
|
||||||
}
|
}
|
||||||
read_unlock(&GlobalSMBSeslock);
|
read_unlock(&GlobalSMBSeslock);
|
||||||
|
@@ -779,6 +779,7 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
kfree(full_path);
|
kfree(full_path);
|
||||||
FreeXid(xid);
|
FreeXid(xid);
|
||||||
return rc;
|
return rc;
|
||||||
@@ -1124,7 +1125,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs)
|
|||||||
cifs_sb = CIFS_SB(direntry->d_inode->i_sb);
|
cifs_sb = CIFS_SB(direntry->d_inode->i_sb);
|
||||||
pTcon = cifs_sb->tcon;
|
pTcon = cifs_sb->tcon;
|
||||||
|
|
||||||
if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM == 0) {
|
if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) == 0) {
|
||||||
/* check if we have permission to change attrs */
|
/* check if we have permission to change attrs */
|
||||||
rc = inode_change_ok(direntry->d_inode, attrs);
|
rc = inode_change_ok(direntry->d_inode, attrs);
|
||||||
if(rc < 0) {
|
if(rc < 0) {
|
||||||
|
Reference in New Issue
Block a user