patch-2.3.3 linux/fs/minix/namei.c
Next file: linux/fs/namei.c
Previous file: linux/fs/hpfs/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/minix/namei.c
- Orig date:
Fri May 14 18:55:25 1999
diff -u --recursive --new-file v2.3.2/linux/fs/minix/namei.c linux/fs/minix/namei.c
@@ -297,7 +297,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)