sysrq.c: 2.1.45

Michael Ballbach (ballbach@lorien.ml.org)
Fri, 18 Jul 1997 19:11:41 -0600 (MDT)


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.