Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kernelbump.git;a=commitdiff;h=1b064fee6078b87f282814b75ad2cbcf56d786d0

commit 1b064fee6078b87f282814b75ad2cbcf56d786d0
Author: DeX77 <[email protected]>
Date:   Thu Feb 23 16:53:24 2017 +0100

zfs-0.7.0-11-x86_64

* version bump

diff --git a/source/base-extra/zfs/FrugalBuild 
b/source/base-extra/zfs/FrugalBuild
index 296d549..2eef054 100644
--- a/source/base-extra/zfs/FrugalBuild
+++ b/source/base-extra/zfs/FrugalBuild
@@ -3,8 +3,8 @@

pkgname=zfs
pkgver=0.7.0
-pkgextraver="-rc2"
-pkgrel=10
+pkgextraver="-rc3"
+pkgrel=11
pkgdesc="ZFS"
url="http://zfsonlinux.org";
rodepends=("spl>=$pkgver")
@@ -13,11 +13,9 @@ groups=('base-extra')
archs=('!i686' 'x86_64')
up2date="Flasttar $url"
backup=(etc/zfs/vdev_id.conf etc/zfs/zed.d/zed.rc)
-source=(https://github.com/zfsonlinux/$pkgname/archive/$pkgname-$pkgver$pkgextraver.tar.gz
 \
-       kernel-4.9-compat.patch)
+source=(https://github.com/zfsonlinux/$pkgname/archive/$pkgname-$pkgver$pkgextraver.tar.gz)

-sha1sums=('7c5c42bd638d54d30242a71567b0d942fbeaf258' \
-          '8ebc605ab715ce0f8346e136317d34d5d193ddc9')
+sha1sums=('ff589cf2d2d0d73226ea4c2d66fd5a16d0289d32')
_F_cd_path="$pkgname-$pkgname-$pkgver$pkgextraver"
Finclude kernel-module

diff --git a/source/base-extra/zfs/kernel-4.9-compat.patch 
b/source/base-extra/zfs/kernel-4.9-compat.patch
deleted file mode 100644
index cba382d..0000000
--- a/source/base-extra/zfs/kernel-4.9-compat.patch
+++ /dev/null
@@ -1,115 +0,0 @@
-From 99ca173929cb693012dabe98bcee4f12ec7e6e92 Mon Sep 17 00:00:00 2001
-From: DHE <[email protected]>
-Date: Mon, 14 Nov 2016 15:49:43 -0500
-Subject: [PATCH] Kernel 4.9 ABI: file_operations->aio_fsync removal
-
-Linux kernel commit 723c038475b78 removed this field.
-
-Signed-off-by: DHE <[email protected]>
-Fixes #5393
----
- config/kernel-aio-fsync.m4 | 21 +++++++++++++++++++++
- config/kernel.m4           |  1 +
- module/zfs/zpl_file.c      | 11 +++++++++++
- 3 files changed, 33 insertions(+)
- create mode 100644 config/kernel-aio-fsync.m4
-
-diff --git a/config/kernel-aio-fsync.m4 b/config/kernel-aio-fsync.m4
-new file mode 100644
-index 0000000..41b7a98a
---- /dev/null
-+++ b/config/kernel-aio-fsync.m4
-@@ -0,0 +1,21 @@
-+dnl #
-+dnl # Linux 4.9-rc5+ ABI, removal of the .aio_fsync field
-+dnl #
-+AC_DEFUN([ZFS_AC_KERNEL_AIO_FSYNC], [
-+      AC_MSG_CHECKING([whether fops->aio_fsync() exists])
-+      ZFS_LINUX_TRY_COMPILE([
-+              #include <linux/fs.h>
-+
-+              static const struct file_operations
-+                  fops __attribute__ ((unused)) = {
-+                      .aio_fsync = NULL,
-+              };
-+      ],[
-+      ],[
-+              AC_MSG_RESULT(yes)
-+              AC_DEFINE(HAVE_FILE_AIO_FSYNC, 1, [fops->aio_fsync() exists])
-+      ],[
-+              AC_MSG_RESULT(no)
-+      ])
-+])
-+
-diff --git a/config/kernel.m4 b/config/kernel.m4
-index af59451..b66631a 100644
---- a/config/kernel.m4
-+++ b/config/kernel.m4
-@@ -66,6 +66,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [
-       ZFS_AC_KERNEL_NR_CACHED_OBJECTS
-       ZFS_AC_KERNEL_FREE_CACHED_OBJECTS
-       ZFS_AC_KERNEL_FALLOCATE
-+      ZFS_AC_KERNEL_AIO_FSYNC
-       ZFS_AC_KERNEL_MKDIR_UMODE_T
-       ZFS_AC_KERNEL_LOOKUP_NAMEIDATA
-       ZFS_AC_KERNEL_CREATE_NAMEIDATA
-diff --git a/module/zfs/zpl_file.c b/module/zfs/zpl_file.c
-index 2c84d70..a225220 100644
---- a/module/zfs/zpl_file.c
-+++ b/module/zfs/zpl_file.c
-@@ -130,12 +130,15 @@ zpl_fsync(struct file *filp, struct dentry *dentry, int 
datasync)
-       return (error);
- }
-
-+#ifdef HAVE_FILE_AIO_FSYNC
- static int
- zpl_aio_fsync(struct kiocb *kiocb, int datasync)
- {
-       struct file *filp = kiocb->ki_filp;
-       return (zpl_fsync(filp, file_dentry(filp), datasync));
- }
-+#endif
-+
- #elif defined(HAVE_FSYNC_WITHOUT_DENTRY)
- /*
-  * Linux 2.6.35 - 3.0 API,
-@@ -161,11 +164,14 @@ zpl_fsync(struct file *filp, int datasync)
-       return (error);
- }
-
-+#ifdef HAVE_FILE_AIO_FSYNC
- static int
- zpl_aio_fsync(struct kiocb *kiocb, int datasync)
- {
-       return (zpl_fsync(kiocb->ki_filp, datasync));
- }
-+#endif
-+
- #elif defined(HAVE_FSYNC_RANGE)
- /*
-  * Linux 3.1 - 3.x API,
-@@ -196,11 +202,14 @@ zpl_fsync(struct file *filp, loff_t start, loff_t end, 
int datasync)
-       return (error);
- }
-
-+#ifdef HAVE_FILE_AIO_FSYNC
- static int
- zpl_aio_fsync(struct kiocb *kiocb, int datasync)
- {
-       return (zpl_fsync(kiocb->ki_filp, kiocb->ki_pos, -1, datasync));
- }
-+#endif
-+
- #else
- #error "Unsupported fops->fsync() implementation"
- #endif
-@@ -838,7 +847,9 @@ const struct file_operations zpl_file_operations = {
- #endif
-       .mmap           = zpl_mmap,
-       .fsync          = zpl_fsync,
-+#ifdef HAVE_FILE_AIO_FSYNC
-       .aio_fsync      = zpl_aio_fsync,
-+#endif
- #ifdef HAVE_FILE_FALLOCATE
-       .fallocate      = zpl_fallocate,
- #endif /* HAVE_FILE_FALLOCATE */
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to