lkml.org 
[lkml]   [1997]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsysrq.c: 2.1.45
Don't know if this has been found yet or not, and not sure if my fix is
right. :) Anyway: when compiling 2.1.45 with the sysrq thingy enabled, it
wont compile. It yelled about struct file not haveing a member f_inode.
Checking linux/include/fs.h between 2.1.45 and 2.0.30, I saw that 30 had
an entry for f_inode, comparing the structures, it appeared that a new
memebr, f_dentry did exist. Checking it's header file, I saw one inode
structure in it. (d_inode) Is this the new version of f_inode? Or was
f_inode left out of the file structure? I switched the f_inode reference
in sysrq.c, (drivers/char/sysrq.h : line 157, all_files_read_only()) to
dentry's version. I haven't tested it, but I'd like to know if I'm right
before I do. :) Hope this helps.

-------------------------------------
Michael A. Ballbach: N0ZTQ, yeh-zehn.
ballbach@lorien.ml.org
mikeb@vr1.com
http://lorien.ml.org/~ballbach/index.html

"I don't know how world war three will be fought, but world war four will
be fought with sticks and stones." -- Albert Einstein.


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.210 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site