From f5cc480c6cfa94ab4d9c990ac477925bcabf6e64 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Fri, 14 May 2010 11:44:10 -0400 Subject: [PATCH] --- yaml --- r: 197965 b: refs/heads/master c: a7cf4145bb86aaf85d4d4d29a69b50b688e2e49d h: refs/heads/master i: 197963: fca991a885fb24a07366d16a25124dd60abf8ecb v: v3 --- [refs] | 2 +- trunk/fs/anon_inodes.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;