summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-11-18 19:38:44 +0100
committerAaron Bauman <bman@gentoo.org>2020-11-20 08:25:12 -0500
commit6a9cad88fc3a817a91e4dd4446175b5cad1bf77f (patch)
treebee73612d9a79013adecec5a6792514133398578 /sys-cluster/glusterfs
parentsys-cluster/nova: remove unused patch (diff)
downloadgentoo-6a9cad88fc3a817a91e4dd4446175b5cad1bf77f.tar.gz
gentoo-6a9cad88fc3a817a91e4dd4446175b5cad1bf77f.tar.bz2
gentoo-6a9cad88fc3a817a91e4dd4446175b5cad1bf77f.zip
sys-cluster/glusterfs: remove unused patch
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/18317 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'sys-cluster/glusterfs')
-rw-r--r--sys-cluster/glusterfs/files/glusterfs-6.7-fix-seek.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/sys-cluster/glusterfs/files/glusterfs-6.7-fix-seek.patch b/sys-cluster/glusterfs/files/glusterfs-6.7-fix-seek.patch
deleted file mode 100644
index 07d1ecef0376..000000000000
--- a/sys-cluster/glusterfs/files/glusterfs-6.7-fix-seek.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff --git a/xlators/performance/open-behind/src/open-behind.c b/xlators/performance/open-behind/src/open-behind.c
-index 70a144abb5..95e00dbd79 100644
---- a/xlators/performance/open-behind/src/open-behind.c
-+++ b/xlators/performance/open-behind/src/open-behind.c
-@@ -708,6 +708,32 @@ ob_fstat(call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *xdata)
- return 0;
- }
-
-+int
-+ob_seek(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset,
-+ gf_seek_what_t what, dict_t *xdata)
-+{
-+ call_stub_t *stub = NULL;
-+ fd_t *wind_fd = NULL;
-+
-+ wind_fd = ob_get_wind_fd(this, fd, NULL);
-+
-+ stub = fop_seek_stub(frame, default_seek_resume, wind_fd, offset, what,
-+ xdata);
-+
-+ fd_unref(wind_fd);
-+
-+ if (!stub)
-+ goto err;
-+
-+ open_and_resume(this, wind_fd, stub);
-+
-+ return 0;
-+err:
-+ STACK_UNWIND_STRICT(fstat, frame, -1, ENOMEM, 0, 0);
-+
-+ return 0;
-+}
-+
- int
- ob_flush(call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *xdata)
- {
-@@ -1256,6 +1282,7 @@ struct xlator_fops fops = {
- .flush = ob_flush,
- .fsync = ob_fsync,
- .fstat = ob_fstat,
-+ .seek = ob_seek,
- .ftruncate = ob_ftruncate,
- .fsetxattr = ob_fsetxattr,
- .setxattr = ob_setxattr,