From patchwork Fri Sep 13 15:46:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Holton X-Patchwork-Id: 2890341 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 796269F1BF for ; Fri, 13 Sep 2013 15:49:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4C428202DB for ; Fri, 13 Sep 2013 15:49:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A8EE2202D9 for ; Fri, 13 Sep 2013 15:49:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932198Ab3IMPth (ORCPT ); Fri, 13 Sep 2013 11:49:37 -0400 Received: from mail-qc0-f180.google.com ([209.85.216.180]:43217 "EHLO mail-qc0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932194Ab3IMPtg (ORCPT ); Fri, 13 Sep 2013 11:49:36 -0400 Received: by mail-qc0-f180.google.com with SMTP id p19so997664qcv.11 for ; Fri, 13 Sep 2013 08:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=DUXIPwnMThhgubxmiyB6kolu95V8RSFPAQ1t+a1fMgM=; b=UUR66w9dtx1sq3x4XjidZTHaqFkIzODKyVPCR7if1n555zmjRY/c5jtvHBYfGRbJm3 6XJWgzCwP9LdzVk/Gz23c4RTlhL3V7Tx4TvhNPKhaueUlh5Qqq3SkedIK/+AN3cqGCBD g8HuhaAYxXg1WETaLe7zAJbZJuZvJH6eLpAS0B+JX1LxfRgy1Me4ORspdjEKKC3OI6NF TctiDbJx/GOlZZiyiZWQ1sKhsp6HiDElnS3lSGJMZB4nGpJbsShnT8YzFAfbpAIGvsw9 A+Zl7nrVYrBbVOUKLiCeRLMgtiuBxqgFiSUY14lUtrigDbYZvpbpi/VrfAlTdE8PoAY9 L+4g== X-Received: by 10.49.105.230 with SMTP id gp6mr25596186qeb.71.1379087376037; Fri, 13 Sep 2013 08:49:36 -0700 (PDT) Received: from localhost.localdomain (nc-67-235-35-93.dhcp.embarqhsd.net. [67.235.35.93]) by mx.google.com with ESMTPSA id f14sm20703015qej.6.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 08:49:35 -0700 (PDT) From: Frank Holton To: linux-btrfs@vger.kernel.org Cc: Frank Holton Subject: [PATCH] btrfs: Add btrfs: prefix to kernel log output Date: Fri, 13 Sep 2013 11:46:50 -0400 Message-Id: <1379087210-21012-1-git-send-email-fholton@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The kernel log entries for device label %s and device fsid %pU are missing the btrfs: prefix. Add those here. Signed-off-by: Frank Holton Reviewed-by: David Sterba --- fs/btrfs/volumes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index a057735..0431147 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -912,9 +912,9 @@ int btrfs_scan_one_device(const char *path, fmode_t flags, void *holder, if (disk_super->label[0]) { if (disk_super->label[BTRFS_LABEL_SIZE - 1]) disk_super->label[BTRFS_LABEL_SIZE - 1] = '\0'; - printk(KERN_INFO "device label %s ", disk_super->label); + printk(KERN_INFO "btrfs: device label %s ", disk_super->label); } else { - printk(KERN_INFO "device fsid %pU ", disk_super->fsid); + printk(KERN_INFO "btrfs: device fsid %pU ", disk_super->fsid); } printk(KERN_CONT "devid %llu transid %llu %s\n", devid, transid, path);