summaryrefslogtreecommitdiffstats
path: root/xlators/encryption/crypt/src/atom.c
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2016-02-23 19:22:45 -0500
committerVijay Bellur <vbellur@redhat.com>2016-04-21 15:39:25 -0700
commita5bd2f2aded44a88edea4001bddba8865a516503 (patch)
treef50059a07b930413959e072bde37173c0d910e30 /xlators/encryption/crypt/src/atom.c
parentfb55cf6aea208b8f493adc011b3b0a0d734cc8a1 (diff)
features/crypt: Whitespace Cleanup
Change-Id: Ib7f2ceb3851a3c333e3d58e3e2713fe4d59616b1 Signed-off-by: Vijay Bellur <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/13502 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/encryption/crypt/src/atom.c')
-rw-r--r--xlators/encryption/crypt/src/atom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/encryption/crypt/src/atom.c b/xlators/encryption/crypt/src/atom.c
index 3fa12207a70..21d63e5d6d6 100644
--- a/xlators/encryption/crypt/src/atom.c
+++ b/xlators/encryption/crypt/src/atom.c
@@ -160,7 +160,7 @@ static uint32_t io_size_nopad_tail(struct avec_config *conf,
static uint32_t io_size_nopad_full(struct avec_config *conf,
struct object_cipher_info *object)
-{
+{
check_full_block(conf);
return get_atom_size(object);
}
@@ -549,7 +549,7 @@ void submit_partial(call_frame_t *frame,
/*
* To perform the "read" component of the read-modify-write
* sequence the crypt translator does stack_wind to itself.
- *
+ *
* Pass current file size to crypt_readv()
*/
dict = dict_new();
@@ -650,7 +650,7 @@ void submit_full(call_frame_t *frame, xlator_t *this)
blocks_to_write,
off_in_file + (blocks_written <<
get_atom_bits(object)));
-
+
set_local_io_params_writev(frame, object, atom,
off_in_file + (blocks_written << get_atom_bits(object)),
blocks_to_write << get_atom_bits(object));