summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorPranith Kumar Karampuri <pkarampu@redhat.com>2016-01-27 03:25:37 -0800
committerRaghavendra Talur <rtalur@redhat.com>2016-01-27 10:31:04 -0800
commitd57bf5bf59c72ef5c791efed885b5f2d80e42a97 (patch)
tree75f92b4d8dc5bb2672eb1fbf315bda899c96c922 /xlators
parent2ce3daa94066dcc77cdc6b54a31747b6c7c0c2fc (diff)
Revert "shard: add seek() FOP as not supported"
This reverts commit 2ce3daa94066dcc77cdc6b54a31747b6c7c0c2fc. Change-Id: Ic00337a69e0a322b14c5cfdf68c06428c5da3a19 Reviewed-on: http://review.gluster.org/13301 Smoke: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/shard/src/shard.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/xlators/features/shard/src/shard.c b/xlators/features/shard/src/shard.c
index 19a07d29562..e46d4dc33ec 100644
--- a/xlators/features/shard/src/shard.c
+++ b/xlators/features/shard/src/shard.c
@@ -4612,17 +4612,6 @@ shard_discard (call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset,
}
int32_t
-shard_seek (call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset,
- gf_seek_what_t what, dict_t *xdata)
-{
- /* TBD */
- gf_msg (this->name, GF_LOG_INFO, ENOTSUP, SHARD_MSG_FOP_NOT_SUPPORTED,
- "seek called on %s.", uuid_utoa (fd->inode->gfid));
- SHARD_STACK_UNWIND (seek, frame, -1, ENOTSUP, 0, NULL);
- return 0;
-}
-
-int32_t
mem_acct_init (xlator_t *this)
{
int ret = -1;
@@ -4812,7 +4801,6 @@ struct xlator_fops fops = {
.link = shard_link,
.unlink = shard_unlink,
.rename = shard_rename,
- .seek = shard_seek,
};
struct xlator_cbks cbks = {