Commit 7714fd6c authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Tony Luck

[IA64] Perfmon over-initialises its inodes

i_sb and i_sock are both initialised by alloc_inode()
Signed-off-by: default avatarMatthew Wilcox <matthew@wil.cx>
Acked-by: default avatarStephane Eranian <eranian@hpl.hp.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent d7e79a87
......@@ -2160,9 +2160,7 @@ pfm_alloc_fd(struct file **cfile)
DPRINT(("new inode ino=%ld @%p\n", inode->i_ino, inode));
inode->i_sb = pfmfs_mnt->mnt_sb;
inode->i_mode = S_IFCHR|S_IRUGO;
inode->i_sock = 0;
inode->i_uid = current->fsuid;
inode->i_gid = current->fsgid;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment