mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.10 kernel Oops with compressed ramdisk
@ 2001-10-04  7:05 Josh Samuelson
  2001-10-08 13:50 ` EMC SYMMETRIX multiple LUN's Andre Margis
  0 siblings, 1 reply; 2+ messages in thread
From: Josh Samuelson @ 2001-10-04  7:05 UTC (permalink / raw)
  To: linux-kernel

Greetings,

When attempting to load a compressed ramdisk from a floppy, the kernel
has a NULL pointer dereference.  The problem occurs inside of
rd_load_image().  rd_load_image() -> identify_ramdisk_image() ->
do_generic_file_read() -> update_atime() is the call trace.
inode->i_sb is not being set somewhere and the macro IS_NOATIME attempts
to dereference it.

#define IS_NOATIME(inode)   (__IS_FLG(inode, MS_NOATIME) || ((inode)->i_flags & S_NOATIME))

#define __IS_FLG(inode,flg) ((inode)->i_sb->s_flags & (flg))

Any ideas where inode->i_sb should be set?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-08 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-04  7:05 2.4.10 kernel Oops with compressed ramdisk Josh Samuelson
2001-10-08 13:50 ` EMC SYMMETRIX multiple LUN's Andre Margis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®