diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-27 17:11:06 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-28 04:03:05 +0200 |
commit | 1eb2cbb6d5efe129cd006691267ce513c0aa59da (patch) | |
tree | c43fb4381e305a31f3111cf8f54e17a49754704f /fs | |
parent | Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/... (diff) | |
download | linux-1eb2cbb6d5efe129cd006691267ce513c0aa59da.tar.xz linux-1eb2cbb6d5efe129cd006691267ce513c0aa59da.zip |
Revert "anon_inode: set S_IFREG on the anon_inode"
This reverts commit a7cf4145bb86aaf85d4d4d29a69b50b688e2e49d.
Diffstat (limited to 'fs')
-rw-r--r-- | fs/anon_inodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c index 9bd4b3876c99..e4b75d6eda83 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; |