X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a707a27261cdc9296411e2dc54d8cea1de603ac5..e48f1513b2675cb956582a04d54993398f410c26:/target/linux/generic-2.6/patches-2.6.27/980-vm_exports.patch diff --git a/target/linux/generic-2.6/patches-2.6.27/980-vm_exports.patch b/target/linux/generic-2.6/patches-2.6.27/980-vm_exports.patch index c11316edf..58c6289e4 100644 --- a/target/linux/generic-2.6/patches-2.6.27/980-vm_exports.patch +++ b/target/linux/generic-2.6/patches-2.6.27/980-vm_exports.patch @@ -25,7 +25,7 @@ - fput(vma->vm_file); - vma->vm_file = file; - vma->vm_ops = &shmem_vm_ops; -+ shmem_set_file(vma, vma->vm_file); ++ shmem_set_file(vma, file); return 0; } --- a/fs/file.c @@ -86,7 +86,7 @@ /** * zap_vma_ptes - remove ptes mapping the vma -@@ -2241,6 +2242,7 @@ int vmtruncate_range(struct inode *inode +@@ -2287,6 +2288,7 @@ int vmtruncate_range(struct inode *inode return 0; }