]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
] staging: lustre: fix multi line strings
authorSrikrishan Malik <srikrishanmalik@gmail.com>
Wed, 13 Aug 2014 14:01:16 +0000 (19:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:17 +0000 (12:23 -0700)
Fixes the following checkpatch warning:

WARNING: quoted string split across lines

Signed-off-by: Srikrishan Malik <srikrishanmalik@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/mdc_locks.c
drivers/staging/lustre/lustre/mdc/mdc_reint.c
drivers/staging/lustre/lustre/mdc/mdc_request.c

index 4d837d61be657132e9d7f7e236b38e1d7228b40e..7f724e3c3f06cedec7a1cad867606853eaa059d5 100644 (file)
@@ -136,11 +136,10 @@ int mdc_set_lock_data(struct obd_export *exp, __u64 *lockh, void *data,
                struct inode *old_inode = lock->l_resource->lr_lvb_inode;
 
                LASSERTF(old_inode->i_state & I_FREEING,
-                        "Found existing inode %p/%lu/%u state %lu in lock: "
-                        "setting data to %p/%lu/%u\n", old_inode,
-                        old_inode->i_ino, old_inode->i_generation,
-                        old_inode->i_state,
-                        new_inode, new_inode->i_ino, new_inode->i_generation);
+                        "Found existing inode %p/%lu/%u state %lu in lock: setting data to %p/%lu/%u\n",
+                        old_inode, old_inode->i_ino, old_inode->i_generation,
+                        old_inode->i_state, new_inode, new_inode->i_ino,
+                        new_inode->i_generation);
        }
        lock->l_resource->lr_lvb_inode = new_inode;
        if (bits)
index b8c0f482b76f22eca24b56ee17f3a2923be9f40d..46800335ca7d7bae1292f3ba196378091329cad6 100644 (file)
@@ -158,8 +158,7 @@ int mdc_setattr(struct obd_export *exp, struct md_op_data *op_data,
 
                *mod = obd_mod_alloc();
                if (*mod == NULL) {
-                       DEBUG_REQ(D_ERROR, req, "Can't allocate "
-                                 "md_open_data");
+                       DEBUG_REQ(D_ERROR, req, "Can't allocate md_open_data");
                } else {
                        req->rq_replay = 1;
                        req->rq_cb_data = *mod;
index 57d903156917c45c24345be338788508df79c1c7..1dfe90e7418fe5c65695f1b0b5c978ccb8be6ffc 100644 (file)
@@ -517,14 +517,14 @@ int mdc_get_lustre_md(struct obd_export *exp, struct ptlrpc_request *req,
                struct lov_mds_md *lmm;
 
                if (!S_ISREG(md->body->mode)) {
-                       CDEBUG(D_INFO, "OBD_MD_FLEASIZE set, should be a "
-                              "regular file, but is not\n");
+                       CDEBUG(D_INFO,
+                              "OBD_MD_FLEASIZE set, should be a regular file, but is not\n");
                        GOTO(out, rc = -EPROTO);
                }
 
                if (md->body->eadatasize == 0) {
-                       CDEBUG(D_INFO, "OBD_MD_FLEASIZE set, "
-                              "but eadatasize 0\n");
+                       CDEBUG(D_INFO,
+                              "OBD_MD_FLEASIZE set, but eadatasize 0\n");
                        GOTO(out, rc = -EPROTO);
                }
                lmmsize = md->body->eadatasize;
@@ -537,8 +537,8 @@ int mdc_get_lustre_md(struct obd_export *exp, struct ptlrpc_request *req,
                        GOTO(out, rc);
 
                if (rc < sizeof(*md->lsm)) {
-                       CDEBUG(D_INFO, "lsm size too small: "
-                              "rc < sizeof (*md->lsm) (%d < %d)\n",
+                       CDEBUG(D_INFO,
+                              "lsm size too small: rc < sizeof (*md->lsm) (%d < %d)\n",
                               rc, (int)sizeof(*md->lsm));
                        GOTO(out, rc = -EPROTO);
                }
@@ -548,14 +548,14 @@ int mdc_get_lustre_md(struct obd_export *exp, struct ptlrpc_request *req,
                struct lov_mds_md *lmv;
 
                if (!S_ISDIR(md->body->mode)) {
-                       CDEBUG(D_INFO, "OBD_MD_FLDIREA set, should be a "
-                              "directory, but is not\n");
+                       CDEBUG(D_INFO,
+                              "OBD_MD_FLDIREA set, should be a directory, but is not\n");
                        GOTO(out, rc = -EPROTO);
                }
 
                if (md->body->eadatasize == 0) {
-                       CDEBUG(D_INFO, "OBD_MD_FLDIREA is set, "
-                              "but eadatasize 0\n");
+                       CDEBUG(D_INFO,
+                              "OBD_MD_FLDIREA is set, but eadatasize 0\n");
                        return -EPROTO;
                }
                if (md->body->valid & OBD_MD_MEA) {
@@ -571,8 +571,8 @@ int mdc_get_lustre_md(struct obd_export *exp, struct ptlrpc_request *req,
                                GOTO(out, rc);
 
                        if (rc < sizeof(*md->mea)) {
-                               CDEBUG(D_INFO, "size too small:  "
-                                      "rc < sizeof(*md->mea) (%d < %d)\n",
+                               CDEBUG(D_INFO,
+                                      "size too small: rc < sizeof(*md->mea) (%d < %d)\n",
                                        rc, (int)sizeof(*md->mea));
                                GOTO(out, rc = -EPROTO);
                        }
@@ -778,8 +778,8 @@ int mdc_set_open_replay_data(struct obd_export *exp,
        rec->cr_old_handle.cookie = body->handle.cookie;
        open_req->rq_replay_cb = mdc_replay_open;
        if (!fid_is_sane(&body->fid1)) {
-               DEBUG_REQ(D_ERROR, open_req, "Saving replay request with "
-                         "insane fid");
+               DEBUG_REQ(D_ERROR, open_req,
+                         "Saving replay request with insane fid");
                LBUG();
        }
 
@@ -928,8 +928,8 @@ int mdc_close(struct obd_export *exp, struct md_op_data *op_data,
 
                rc = lustre_msg_get_status(req->rq_repmsg);
                if (lustre_msg_get_type(req->rq_repmsg) == PTL_RPC_MSG_ERR) {
-                       DEBUG_REQ(D_ERROR, req, "type == PTL_RPC_MSG_ERR, err "
-                                 "= %d", rc);
+                       DEBUG_REQ(D_ERROR, req,
+                                 "type == PTL_RPC_MSG_ERR, err = %d", rc);
                        if (rc > 0)
                                rc = -rc;
                }
@@ -2055,8 +2055,8 @@ static int mdc_hsm_copytool_send(int len, void *val)
                return -EPROTO;
        }
 
-       CDEBUG(D_HSM, " Received message mg=%x t=%d m=%d l=%d actions=%d "
-              "on %s\n",
+       CDEBUG(D_HSM,
+              "Received message mg=%x t=%d m=%d l=%d actions=%d on %s\n",
               lh->kuc_magic, lh->kuc_transport, lh->kuc_msgtype,
               lh->kuc_msglen, hal->hal_count, hal->hal_fsname);