diff --git a/[refs] b/[refs] index c42c93da757f..7495d141e46c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b7bb0a12913a582dbb0954bf463b1152b540c1a6 +refs/heads/master: a7cf4145bb86aaf85d4d4d29a69b50b688e2e49d diff --git a/trunk/fs/anon_inodes.c b/trunk/fs/anon_inodes.c index e4b75d6eda83..9bd4b3876c99 100644 --- a/trunk/fs/anon_inodes.c +++ b/trunk/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_IRUSR | S_IWUSR; + inode->i_mode = S_IFREG | S_IRUSR | S_IWUSR; inode->i_uid = current_fsuid(); inode->i_gid = current_fsgid(); inode->i_flags |= S_PRIVATE;