From dca1930663ae2f0770065085af9105ed9479c44a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 28 Apr 2014 20:08:16 -0300 Subject: linux-libre-{pae,xen}-3.14.2-1: updating version * added fixes for i810 hang, uefi xsdt issue, saa7134, tun speed --- .../0011-kernfs-fix-removed-error-check.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 kernels/linux-libre-xen/0011-kernfs-fix-removed-error-check.patch (limited to 'kernels/linux-libre-xen/0011-kernfs-fix-removed-error-check.patch') diff --git a/kernels/linux-libre-xen/0011-kernfs-fix-removed-error-check.patch b/kernels/linux-libre-xen/0011-kernfs-fix-removed-error-check.patch new file mode 100644 index 000000000..b597595c6 --- /dev/null +++ b/kernels/linux-libre-xen/0011-kernfs-fix-removed-error-check.patch @@ -0,0 +1,13 @@ +diff --git a/fs/kernfs/file.c b/fs/kernfs/file.c +index 8034706..e01ea4a 100644 +--- a/fs/kernfs/file.c ++++ b/fs/kernfs/file.c +@@ -484,6 +484,8 @@ static int kernfs_fop_mmap(struct file *file, struct vm_area_struct *vma) + + ops = kernfs_ops(of->kn); + rc = ops->mmap(of, vma); ++ if (rc) ++ goto out_put; + + /* + * PowerPC's pci_mmap of legacy_mem uses shmem_zero_setup() -- cgit v1.2.3