From b03155c165af671a717043c3b00fb002e35bb7d3 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 27 May 2010 11:11:06 -0400 Subject: [PATCH] Revert "anon_inode: set S_IFREG on the anon_inode" This reverts commit b338199ebd10da49af5ec772e40fb26d9b0451df. --- fs/anon_inodes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c index 9bd4b3876c99c..e4b75d6eda839 100644 --- a/fs/anon_inodes.c +++ b/fs/anon_inodes.c @@ -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; -- 2.39.5