aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-06-08 16:44:42 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-06-08 16:44:42 +0000
commit7bc4ea6c958c366df7dfb457f8a09bf35b5f46e8 (patch)
tree86502fe31011477a3a860c547eac4c9e4aa4dfe2 /target
parent321c2089bde80e0c002847ed41ab9a89d663e9c7 (diff)
downloadupstream-7bc4ea6c958c366df7dfb457f8a09bf35b5f46e8.tar.gz
upstream-7bc4ea6c958c366df7dfb457f8a09bf35b5f46e8.tar.bz2
upstream-7bc4ea6c958c366df7dfb457f8a09bf35b5f46e8.zip
generic-2.6: fix mini_fo 2.6.35 kernel issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21706 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic-2.6/patches-2.6.35/217-mini_fo_2.6.35.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.35/217-mini_fo_2.6.35.patch b/target/linux/generic-2.6/patches-2.6.35/217-mini_fo_2.6.35.patch
new file mode 100644
index 0000000000..ef697291b0
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.35/217-mini_fo_2.6.35.patch
@@ -0,0 +1,20 @@
+--- a/fs/mini_fo/file.c
++++ b/fs/mini_fo/file.c
+@@ -616,7 +616,7 @@ mini_fo_fsync(file_t *file, dentry_t *de
+ #else
+ down(&hidden_dentry->d_inode->i_sem);
+ #endif
+- err1 = hidden_file->f_op->fsync(hidden_file, hidden_dentry, datasync);
++ err1 = hidden_file->f_op->fsync(hidden_file, hidden_dentry);
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
+ mutex_unlock(&hidden_dentry->d_inode->i_mutex);
+ #else
+@@ -633,7 +633,7 @@ mini_fo_fsync(file_t *file, dentry_t *de
+ #else
+ down(&hidden_dentry->d_inode->i_sem);
+ #endif
+- err2 = hidden_file->f_op->fsync(hidden_file, hidden_dentry, datasync);
++ err2 = hidden_file->f_op->fsync(hidden_file, hidden_dentry);
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
+ mutex_unlock(&hidden_dentry->d_inode->i_mutex);
+ #else