Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14818
b: refs/heads/master
c: 2a138eb
h: refs/heads/master
v: v3
  • Loading branch information
Steve French committed Nov 30, 2005
1 parent 92fa13b commit 30c8c22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 606c0dafbe88102d64c1253caed8a2c36987070f
refs/heads/master: 2a138ebb012ac42c082ae8b40c87c1f265664391
2 changes: 1 addition & 1 deletion trunk/fs/cifs/cifsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ static int cifs_dnotify_thread(void * dummyarg)
ses = list_entry(tmp, struct cifsSesInfo,
cifsSessionList);
if(ses && ses->server &&
atomic_read(&ses->server->inSend))
atomic_read(&ses->server->inFlight))
wake_up_all(&ses->server->response_q);
}
read_unlock(&GlobalSMBSeslock);
Expand Down
3 changes: 2 additions & 1 deletion trunk/fs/cifs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,7 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
current->fsgid;
}
}
}
}
kfree(full_path);
FreeXid(xid);
Expand Down Expand Up @@ -1124,7 +1125,7 @@ int cifs_setattr(struct dentry *direntry, struct iattr *attrs)
cifs_sb = CIFS_SB(direntry->d_inode->i_sb);
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 */
rc = inode_change_ok(direntry->d_inode, attrs);
if(rc < 0) {
Expand Down

0 comments on commit 30c8c22

Please sign in to comment.