commit | 25741b3e43151bc207dd2b850b0bb157c442682b | [log] [tgz] |
---|---|---|
author | Steve French <sfrench@us.ibm.com> | Tue Nov 29 22:38:43 2005 -0800 |
committer | Steve French <sfrench@us.ibm.com> | Tue Nov 29 22:38:43 2005 -0800 |
tree | 13d461a077696ad85a6d391a9559393d29e21ac3 | |
parent | 2a138ebb012ac42c082ae8b40c87c1f265664391 [diff] [blame] |
[CIFS] For previous fix, mode on mkdir needed S_IFDIR left out. Signed-off-by: Steve French <sfrench@us.ibm.com>
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index e877346..411c1f7 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c
@@ -770,6 +770,7 @@ -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 =