summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2003-04-29 17:32:40 -0700
committerChristoph Hellwig <hch@lst.de>2003-04-29 17:32:40 -0700
commit0948aa6d1967d2b3a6e07eb9176a579187bae1e2 (patch)
tree6c9a4f02c1e53b54bb7b0fbcd3afdd90037813bc /include/linux
parent72007d2de12d42233d32337fef0c61b21e3771a6 (diff)
[PATCH] improved bdevname
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 572b92e6f443..b9b2cf5b69e8 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1068,10 +1068,7 @@ extern int chrdev_open(struct inode *, struct file *);
/* fs/block_dev.c */
#define BDEVNAME_SIZE 32 /* Largest string for a blockdev identifier */
extern const char *__bdevname(dev_t, char *buffer);
-extern inline const char *bdevname(struct block_device *bdev, char *buffer)
-{
- return __bdevname(bdev->bd_dev, buffer);
-}
+extern const char *bdevname(struct block_device *bdev, char *buffer);
extern struct block_device *lookup_bdev(const char *);
extern struct block_device *open_bdev_excl(const char *, int, int, void *);
extern void close_bdev_excl(struct block_device *, int);