fs/block_dev: remove vfs_msg() interface
authorRakesh Pandit <rakesh@tuxera.com>
Thu, 12 Oct 2017 16:58:10 +0000 (19:58 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 12 Oct 2017 18:30:24 +0000 (12:30 -0600)
Replaced by pr_err usage in commit ef51042472f5 ("block, dax: move
"select DAX" from BLOCK to FS_DAX")

Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Acked-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/block_dev.c
include/linux/blkdev.h

index 93d088ffc05c679c7f0f35b847eb1d4341fc3761..07ddccd1780173c5511e6178a68142dacf89b025 100644 (file)
@@ -54,18 +54,6 @@ struct block_device *I_BDEV(struct inode *inode)
 }
 EXPORT_SYMBOL(I_BDEV);
 
-void __vfs_msg(struct super_block *sb, const char *prefix, const char *fmt, ...)
-{
-       struct va_format vaf;
-       va_list args;
-
-       va_start(args, fmt);
-       vaf.fmt = fmt;
-       vaf.va = &args;
-       printk_ratelimited("%sVFS (%s): %pV\n", prefix, sb->s_id, &vaf);
-       va_end(args);
-}
-
 static void bdev_write_inode(struct block_device *bdev)
 {
        struct inode *inode = bdev->bd_inode;
index 9fb71fc7d0e85077ae4536c197a68897ba3880a6..72637028f3c9fbc62f83ce558b4249e9509d2a49 100644 (file)
@@ -917,17 +917,6 @@ static inline void rq_flush_dcache_pages(struct request *rq)
 }
 #endif
 
-#ifdef CONFIG_PRINTK
-#define vfs_msg(sb, level, fmt, ...)                           \
-       __vfs_msg(sb, level, fmt, ##__VA_ARGS__)
-#else
-#define vfs_msg(sb, level, fmt, ...)                           \
-do {                                                           \
-       no_printk(fmt, ##__VA_ARGS__);                          \
-       __vfs_msg(sb, "", " ");                                 \
-} while (0)
-#endif
-
 extern int blk_register_queue(struct gendisk *disk);
 extern void blk_unregister_queue(struct gendisk *disk);
 extern blk_qc_t generic_make_request(struct bio *bio);