diff options
| author | Christoph Hellwig <hch@lst.de> | 2003-05-03 21:03:19 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-03 21:03:19 -0700 |
| commit | e515904b3ed07ee2f231cad7ffbe7bd315f41486 (patch) | |
| tree | f96ca1f0b0c86c8d61e549cf6d829070f57241e4 /include | |
| parent | 8f998915ca6df1d6f52b42bb094f0a7f1900abb9 (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')
0 files changed, 0 insertions, 0 deletions
