]> git.hungrycats.org Git - linux/commit
[PATCH] fix O_DIRECT oops
authorAndrew Morton <akpm@zip.com.au>
Sun, 14 Jul 2002 10:26:41 +0000 (03:26 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 14 Jul 2002 10:26:41 +0000 (03:26 -0700)
commite4e4cd485d1fab1ef03507847a49a0e090b35e64
treed6eff405f0785c76f597f11ecb69f9a60865d4f4
parent42ec8bc1d0bd11f0ebcb05c4c4a02065c08f4e73
[PATCH] fix O_DIRECT oops

inode->i_sb->s_bdev is NULL when the inode refers to a blockdev.
Use the get_block() result instead.
fs/buffer.c