[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.
Showing
Please register or sign in to comment
inode->i_sb->s_bdev is NULL when the inode refers to a blockdev. Use the get_block() result instead.