summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-inode-write.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2011-10-25 11:45:10 +0530
committerVijay Bellur <vijay@gluster.com>2011-10-28 05:49:40 -0700
commitaf708e9fc2eb2104b9e8e3b5a3eaf99201664324 (patch)
tree524d1afbb7ad388422b53b6827ec54cb17fe7acf /xlators/cluster/afr/src/afr-inode-write.c
parentc770722983f73aa838b5985755999050c746550a (diff)
cluster/afr: Remove unused 'ino' code
Change-Id: I425e2d23e9e45f10ddeff2eacf918dd90f8baee7 BUG: 3744 Reviewed-on: http://review.gluster.com/639 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-inode-write.c')
-rw-r--r--xlators/cluster/afr/src/afr-inode-write.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c
index 639b89b1f..3f78c7b36 100644
--- a/xlators/cluster/afr/src/afr-inode-write.c
+++ b/xlators/cluster/afr/src/afr-inode-write.c
@@ -462,7 +462,6 @@ afr_writev (call_frame_t *frame, xlator_t *this, fd_t *fd,
local->cont.writev.vector = iov_dup (vector, count);
local->cont.writev.count = count;
local->cont.writev.offset = offset;
- local->cont.writev.ino = fd->inode->ino;
local->cont.writev.iobref = iobref_ref (iobref);
local->fd = fd_ref (fd);
@@ -666,7 +665,6 @@ afr_truncate (call_frame_t *frame, xlator_t *this,
local->op_ret = -1;
local->cont.truncate.offset = offset;
- local->cont.truncate.ino = loc->inode->ino;
local->transaction.fop = afr_truncate_wind;
local->transaction.done = afr_truncate_done;
@@ -909,7 +907,6 @@ afr_ftruncate (call_frame_t *frame, xlator_t *this,
frame->local = local;
local->cont.ftruncate.offset = offset;
- local->cont.ftruncate.ino = fd->inode->ino;
local->fd = fd_ref (fd);
local->fop_call_continue = afr_do_ftruncate;
@@ -1113,8 +1110,6 @@ afr_setattr (call_frame_t *frame, xlator_t *this,
local->op_ret = -1;
- local->cont.setattr.ino = loc->inode->ino;
-
local->cont.setattr.in_buf = *buf;
local->cont.setattr.valid = valid;
@@ -1320,7 +1315,6 @@ afr_fsetattr (call_frame_t *frame, xlator_t *this,
local->op_ret = -1;
- local->cont.fsetattr.ino = fd->inode->ino;
local->cont.fsetattr.in_buf = *buf;
local->cont.fsetattr.valid = valid;