Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[CIFS] Missing parenthesis and typo in previous fix

Signed-off-by: Steve French <sfrench@us.ibm.com>

+3 -2
+1 -1
fs/cifs/cifsfs.c
··· 921 921 ses = list_entry(tmp, struct cifsSesInfo, 922 922 cifsSessionList); 923 923 if(ses && ses->server && 924 - atomic_read(&ses->server->inSend)) 924 + atomic_read(&ses->server->inFlight)) 925 925 wake_up_all(&ses->server->response_q); 926 926 } 927 927 read_unlock(&GlobalSMBSeslock);
+2 -1
fs/cifs/inode.c
··· 778 778 current->fsgid; 779 779 } 780 780 } 781 + } 781 782 } 782 783 kfree(full_path); 783 784 FreeXid(xid); ··· 1125 1124 cifs_sb = CIFS_SB(direntry->d_inode->i_sb); 1126 1125 pTcon = cifs_sb->tcon; 1127 1126 1128 - if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM == 0) { 1127 + if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) == 0) { 1129 1128 /* check if we have permission to change attrs */ 1130 1129 rc = inode_change_ok(direntry->d_inode, attrs); 1131 1130 if(rc < 0) {