Skip to content

Commit

Permalink
Revert "anon_inode: set S_IFREG on the anon_inode"
Browse files Browse the repository at this point in the history
This reverts commit a7cf414.
  • Loading branch information
Al Viro committed May 28, 2010
1 parent 9dda696 commit 1eb2cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/anon_inodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ static struct inode *anon_inode_mkinode(void)
* that it already _is_ on the dirty list.
*/
inode->i_state = I_DIRTY;
inode->i_mode = S_IFREG | S_IRUSR | S_IWUSR;
inode->i_mode = S_IRUSR | S_IWUSR;
inode->i_uid = current_fsuid();
inode->i_gid = current_fsgid();
inode->i_flags |= S_PRIVATE;
Expand Down

0 comments on commit 1eb2cbb

Please sign in to comment.