patch-2.3.3 linux/fs/sysv/namei.c
Next file: linux/fs/ufs/namei.c
Previous file: linux/fs/super.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat May 15 23:43:05 1999
- Orig file:
v2.3.2/linux/fs/sysv/namei.c
- Orig date:
Fri May 14 18:55:26 1999
diff -u --recursive --new-file v2.3.2/linux/fs/sysv/namei.c linux/fs/sysv/namei.c
@@ -291,7 +291,7 @@
inode->i_nlink = 2;
mark_buffer_dirty(dir_block, 1);
brelse(dir_block);
- inode->i_mode = S_IFDIR | (mode & 0777 & ~current->fs->umask);
+ inode->i_mode = S_IFDIR | mode;
if (dir->i_mode & S_ISGID)
inode->i_mode |= S_ISGID;
mark_inode_dirty(inode);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)