diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-04-28 19:46:06 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-04-28 19:46:06 -0300 |
commit | 5b5e4f6d2fa328bf14e48c273469b70579365ed1 (patch) | |
tree | 7c3fca7b8a7db42e0a5f1fd1ffb778729d6ca4f8 /libre/linux-libre-grsec/0011-kernfs-fix-removed-error-check.patch | |
parent | 44c19d76159111c76a1bf24fe52c767d447193a2 (diff) |
linux-libre-grsec-3.14.2.201404270907-1: updating version
* added fixes for i810 hang, uefi xsdt issue, saa7134, tun speed
Diffstat (limited to 'libre/linux-libre-grsec/0011-kernfs-fix-removed-error-check.patch')
-rw-r--r-- | libre/linux-libre-grsec/0011-kernfs-fix-removed-error-check.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/linux-libre-grsec/0011-kernfs-fix-removed-error-check.patch b/libre/linux-libre-grsec/0011-kernfs-fix-removed-error-check.patch new file mode 100644 index 000000000..b597595c6 --- /dev/null +++ b/libre/linux-libre-grsec/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() |