projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
|
blame
|
history
diff --git
a/fs/cifs/inode.c
b/fs/cifs/inode.c
index e8773461c7f76d53be96eb935f88d807b203f376..411c1f7f84da6074efd483e27df1221db4647df1 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 =