summaryrefslogtreecommitdiff
path: root/include/linux/loop.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2003-05-03 21:03:19 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-03 21:03:19 -0700
commite515904b3ed07ee2f231cad7ffbe7bd315f41486 (patch)
treef96ca1f0b0c86c8d61e549cf6d829070f57241e4 /include/linux/loop.h
parent8f998915ca6df1d6f52b42bb094f0a7f1900abb9 (diff)
[PATCH] make __bdevname output more similar to bdevname
Currently __bdevname walks the obsolete list of block majors to find a name for the given dev_t and falls back to unknown-block(%u,%u) if that's not possible. Replace this with an attempted get_gendisk() + disk_name. This means __bdevname can't be called from irq context anymore, but as all old irq context callers are using bdevname() now that fine (and I've added a big comment).
Diffstat (limited to 'include/linux/loop.h')
0 files changed, 0 insertions, 0 deletions