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