summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-10-31 20:00:46 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-31 20:00:46 -0800
commit3480cbc1744c036baa40e3c29eb38196ec995f27 (patch)
treeca0fc27ee4bd783113b826eab8bb4752c979f7a8 /include/linux/stringify.h
parentd97ec37c5c2c0eb8a94f117651a7f9940aff1953 (diff)
[PATCH] use bd_claim in the raw driver
Currently if you use the raw driver against /dev/hda1 while it has an fs mounted, everything gets confused and the kernel locks up or oopses. Al said to use bd_claim(). This prevents the raw driver from being able to open the device under these circumstances. There is value in being able to read the raw device while there's a filesystem mounted: to poke around at the disk without interacting with the kernel's caching. You can still do that, with an O_DIRECT open of /dev/hda1.
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions