diff options
Diffstat (limited to 'xlators/encryption/crypt/src/atom.c')
-rw-r--r-- | xlators/encryption/crypt/src/atom.c | 6 |
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)); |