summaryrefslogtreecommitdiffstats
path: root/fs/ceph/caps.c
diff options
context:
space:
mode:
authorHimangi Saraogi2014-07-23 16:41:11 +0200
committerIlya Dryomov2014-07-24 10:04:46 +0200
commit08a0f24e4c62e7dd6b8486903177c1c451819f01 (patch)
tree7fcc73f29e282783d289caf1f9dc66e300577c5f /fs/ceph/caps.c
parentrbd: use rbd_segment_name_free() instead of kfree() (diff)
downloadkernel-qcow2-linux-08a0f24e4c62e7dd6b8486903177c1c451819f01.tar.gz
kernel-qcow2-linux-08a0f24e4c62e7dd6b8486903177c1c451819f01.tar.xz
kernel-qcow2-linux-08a0f24e4c62e7dd6b8486903177c1c451819f01.zip
ceph: replace comma with a semicolon
Replace a comma between expression statements by a semicolon. This changes the semantics of the code, but given the current indentation appears to be what is intended. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: // <smpl> @r@ expression e1,e2; @@ e1 -, +; e2; // </smpl> Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Diffstat (limited to 'fs/ceph/caps.c')
-rw-r--r--fs/ceph/caps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
index 1fde164b74b5..6d1cd45dca89 100644
--- a/fs/ceph/caps.c
+++ b/fs/ceph/caps.c
@@ -3277,7 +3277,7 @@ int ceph_encode_inode_release(void **p, struct inode *inode,
rel->ino = cpu_to_le64(ceph_ino(inode));
rel->cap_id = cpu_to_le64(cap->cap_id);
rel->seq = cpu_to_le32(cap->seq);
- rel->issue_seq = cpu_to_le32(cap->issue_seq),
+ rel->issue_seq = cpu_to_le32(cap->issue_seq);
rel->mseq = cpu_to_le32(cap->mseq);
rel->caps = cpu_to_le32(cap->implemented);
rel->wanted = cpu_to_le32(cap->mds_wanted);