mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
zpool: change pr_info to pr_debug
Change the pr_info() calls to pr_debug(). There's no need for the extra verbosity in the log. Also change the msg formats to be consistent. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Cc: Kees Cook <keescook@chromium.org> Cc: Minchan Kim <minchan@kernel.org> Cc: Ganesh Mahendran <opensource.ganesh@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c00ed16a9e
commit
cf41f5f496
@ -147,7 +147,7 @@ struct zpool *zpool_create_pool(char *type, char *name, gfp_t gfp,
|
|||||||
struct zpool_driver *driver;
|
struct zpool_driver *driver;
|
||||||
struct zpool *zpool;
|
struct zpool *zpool;
|
||||||
|
|
||||||
pr_info("creating pool type %s\n", type);
|
pr_debug("creating pool type %s\n", type);
|
||||||
|
|
||||||
driver = zpool_get_driver(type);
|
driver = zpool_get_driver(type);
|
||||||
|
|
||||||
@ -180,7 +180,7 @@ struct zpool *zpool_create_pool(char *type, char *name, gfp_t gfp,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
pr_info("created %s pool\n", type);
|
pr_debug("created pool type %s\n", type);
|
||||||
|
|
||||||
spin_lock(&pools_lock);
|
spin_lock(&pools_lock);
|
||||||
list_add(&zpool->list, &pools_head);
|
list_add(&zpool->list, &pools_head);
|
||||||
@ -202,7 +202,7 @@ struct zpool *zpool_create_pool(char *type, char *name, gfp_t gfp,
|
|||||||
*/
|
*/
|
||||||
void zpool_destroy_pool(struct zpool *zpool)
|
void zpool_destroy_pool(struct zpool *zpool)
|
||||||
{
|
{
|
||||||
pr_info("destroying pool type %s\n", zpool->type);
|
pr_debug("destroying pool type %s\n", zpool->type);
|
||||||
|
|
||||||
spin_lock(&pools_lock);
|
spin_lock(&pools_lock);
|
||||||
list_del(&zpool->list);
|
list_del(&zpool->list);
|
||||||
|
Loading…
Reference in New Issue
Block a user