OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a138eb
)
[CIFS] For previous fix, mode on mkdir needed S_IFDIR left out.
author
Steve French
<sfrench@us.ibm.com>
Wed, 30 Nov 2005 06:38:43 +0000
(22:38 -0800)
committer
Steve French
<sfrench@us.ibm.com>
Wed, 30 Nov 2005 06:38:43 +0000
(22:38 -0800)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c
patch
|
blob
|
history
diff --git
a/fs/cifs/inode.c
b/fs/cifs/inode.c
index
e877346
..
411c1f7
100644
(file)
--- a/
fs/cifs/inode.c
+++ b/
fs/cifs/inode.c
@@
-770,6
+770,7
@@
int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode)
-1, -1, local_nls); */
if(direntry->d_inode) {
direntry->d_inode->i_mode = mode;
+ direntry->d_inode->i_mode |= S_IFDIR;
if(cifs_sb->mnt_cifs_flags &
CIFS_MOUNT_SET_UID) {
direntry->d_inode->i_uid =