hpfs - flush

Kurt Garloff (garloff@kg1.ping.de)
Fri, 4 Sep 1998 12:09:09 +0200


--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii

Hi Linus,

I got a bunch of Oopses accessing hpfs partitions with plain 2.1.119.

In case nobody fixed it yet, here's a patch to add the missing NULLs for
flush in hpfs_fs.c. It's certainly the correct thing, as hpfs is readonly.
It fixes the Oopses.

Regards,

-- 
Kurt Garloff, Dortmund 
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff

--gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Description: hpfs_c_flush.diff Content-Disposition: attachment; filename="hpfs_c_flush.diff"

--- linux/fs/hpfs/hpfs_fs.c~ Fri Sep 4 11:56:56 1998 +++ linux/fs/hpfs/hpfs_fs.c Fri Sep 4 11:56:04 1998 @@ -159,6 +159,7 @@ NULL, /* ioctl - default */ generic_file_mmap, /* mmap */ NULL, /* no special open is needed */ + NULL, /* flush */ NULL, /* release */ file_fsync, /* fsync */ }; @@ -203,6 +204,7 @@ NULL, /* ioctl - default */ NULL, /* mmap */ NULL, /* no special open code */ + NULL, /* flush */ NULL, /* no special release code */ file_fsync, /* fsync */ };

--gBBFr7Ir9EOA20Yy--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html