summaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorAl Viro2008-08-01 11:00:11 +0200
committerAl Viro2008-08-01 17:25:31 +0200
commitd5686b444ff3f72808d2b3fbd58672a86cdf38e7 (patch)
treed3cdebc042269641f7134556e2f8d263d526581a /fs/block_dev.c
parent[patch 3/4] vfs: remove unused nameidata argument of may_create() (diff)
downloadkernel-qcow2-linux-d5686b444ff3f72808d2b3fbd58672a86cdf38e7.tar.gz
kernel-qcow2-linux-d5686b444ff3f72808d2b3fbd58672a86cdf38e7.tar.xz
kernel-qcow2-linux-d5686b444ff3f72808d2b3fbd58672a86cdf38e7.zip
[PATCH] switch mtd and dm-table to lookup_bdev()
No need to open-code it... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r--fs/block_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c
index e664b0b70489..aff54219e049 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -1236,6 +1236,7 @@ fail:
bdev = ERR_PTR(error);
goto out;
}
+EXPORT_SYMBOL(lookup_bdev);
/**
* open_bdev_excl - open a block device by name and set it up for use