summarylogtreecommitdiffstats
path: root/0011-kernfs-fix-removed-error-check.patch
diff options
context:
space:
mode:
Diffstat (limited to '0011-kernfs-fix-removed-error-check.patch')
-rw-r--r--0011-kernfs-fix-removed-error-check.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/0011-kernfs-fix-removed-error-check.patch b/0011-kernfs-fix-removed-error-check.patch
deleted file mode 100644
index b597595c6443..000000000000
--- a/0011-kernfs-fix-removed-error-check.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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()