summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2015-04-01 15:13:11 +0530
committerVijay Bellur <vbellur@redhat.com>2015-04-06 23:09:28 -0700
commitd1a5c805610115122b8ef61367b61425d7e39db5 (patch)
treedd28c0abe91d8f7af4599b5fb3e330ea3e97c8ae /extras
parent2ef9ad2dc5822b9b88243cb7f60816fe1c531e91 (diff)
features/shard: Refactor code
* Renamed shard_writev_create_write_shards() to shard_common_resolve_shards() to appropriately reflect its functionality and for reuse in other fops too. * Move code common to MKNOD and CREATE into a macro. * Cut down on if nesting in shard_lookup_cbk() Change-Id: I488255499673accd426390c6d42f2b39bab3d637 BUG: 1205661 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/10096 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions