staging: lustre: llite: fix coding style for error messages
authorAastha Gupta <aastha.gupta4104@gmail.com>
Wed, 18 Oct 2017 18:49:45 +0000 (00:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 12:46:07 +0000 (14:46 +0200)
The "DFID" part should be added to the same line as the rest of
the message, to match current coding style.

Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/dir.c

index 58d832d..ec9b1ba 100644 (file)
@@ -734,10 +734,10 @@ static int ll_ioc_copy_start(struct super_block *sb, struct hsm_copy *copy)
                rc = ll_data_version(inode, &data_version, LL_DV_RD_FLUSH);
                iput(inode);
                if (rc != 0) {
-                       CDEBUG(D_HSM, "Could not read file data version of "
-                                     DFID " (rc = %d). Archive request (%#llx) could not be done.\n",
-                                     PFID(&copy->hc_hai.hai_fid), rc,
-                                     copy->hc_hai.hai_cookie);
+                       CDEBUG(D_HSM,
+                              "Could not read file data version of " DFID " (rc = %d). Archive request (%#llx) could not be done.\n",
+                              PFID(&copy->hc_hai.hai_fid), rc,
+                              copy->hc_hai.hai_cookie);
                        hpk.hpk_flags |= HP_FLAG_RETRY;
                        /* hpk_errval must be >= 0 */
                        hpk.hpk_errval = -rc;
@@ -835,8 +835,7 @@ static int ll_ioc_copy_end(struct super_block *sb, struct hsm_copy *copy)
                 */
                if ((copy->hc_hai.hai_action == HSMA_ARCHIVE) &&
                    (copy->hc_data_version != data_version)) {
-                       CDEBUG(D_HSM, "File data version mismatched. File content was changed during archiving. "
-                              DFID ", start:%#llx current:%#llx\n",
+                       CDEBUG(D_HSM, "File data version mismatched. File content was changed during archiving. " DFID ", start:%#llx current:%#llx\n",
                               PFID(&copy->hc_hai.hai_fid),
                               copy->hc_data_version, data_version);
                        /* File was changed, send error to cdt. Do not ask for