OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dda696
)
Revert "anon_inode: set S_IFREG on the anon_inode"
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 27 May 2010 15:11:06 +0000
(11:11 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 28 May 2010 02:03:05 +0000
(22:03 -0400)
This reverts commit
a7cf4145bb86aaf85d4d4d29a69b50b688e2e49d
.
fs/anon_inodes.c
patch
|
blob
|
history
diff --git
a/fs/anon_inodes.c
b/fs/anon_inodes.c
index
9bd4b38
..
e4b75d6
100644
(file)
--- 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_I
FREG | S_I
RUSR | S_IWUSR;
+ inode->i_mode = S_IRUSR | S_IWUSR;
inode->i_uid = current_fsuid();
inode->i_gid = current_fsgid();
inode->i_flags |= S_PRIVATE;