Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1eb2cbb6 authored by Al Viro's avatar Al Viro
Browse files

Revert "anon_inode: set S_IFREG on the anon_inode"

This reverts commit a7cf4145.
parent 9dda696f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;