[lkml]   [2001]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject2.4.10 kernel Oops with compressed ramdisk

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?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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