]> git.hungrycats.org Git - linux/commit
[PATCH] Fix error value for opening block devices
authorAndrew Morton <akpm@osdl.org>
Sun, 21 Mar 2004 00:37:56 +0000 (16:37 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 21 Mar 2004 00:37:56 +0000 (16:37 -0800)
commitd21db956dc24b5e31cb3fbb02d0635700eb3b6df
treebdc2c76b626bad7052f49fb2a1b5ba7a5b83b45f
parent208204bce502db7de2495f1d0343ec30c516a65e
[PATCH] Fix error value for opening block devices

From: Ulrich Drepper <drepper@redhat.com>

Opening a non-existing block device currently yields an ENXIO error.  Doing
the same for char devices produces the correct error ENODEV.
fs/block_dev.c