summaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-24 14:45:53 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-24 14:45:53 +0000
commita6ac3b9cfa9f46116fd3937ce5738b388627441c (patch)
treef420f0be29fb1fde486383df5954ef1138ca6c08 /target/linux/generic
parente97c2ae21653fec9f5e47639ba5764934330b476 (diff)
linux/generic: fix mini_fo for kernels >= 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25699 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/patches-2.6.38/218-mini_fo_fix_2_6_38.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.38/218-mini_fo_fix_2_6_38.patch b/target/linux/generic/patches-2.6.38/218-mini_fo_fix_2_6_38.patch
new file mode 100644
index 000000000..e61f5644f
--- /dev/null
+++ b/target/linux/generic/patches-2.6.38/218-mini_fo_fix_2_6_38.patch
@@ -0,0 +1,37 @@
+--- a/fs/mini_fo/dentry.c
++++ b/fs/mini_fo/dentry.c
+@@ -96,7 +96,7 @@ mini_fo_d_hash(dentry_t *dentry, qstr_t
+ if(hidden_sto_dentry &&
+ hidden_sto_dentry->d_op &&
+ hidden_sto_dentry->d_op->d_hash) {
+- err = hidden_sto_dentry->d_op->d_hash(hidden_sto_dentry, name);
++ err = hidden_sto_dentry->d_op->d_hash(hidden_sto_dentry, hidden_sto_dentry->d_inode, name);
+ }
+ goto out;
+ }
+@@ -106,7 +106,7 @@ mini_fo_d_hash(dentry_t *dentry, qstr_t
+ if(hidden_dentry &&
+ hidden_dentry->d_op &&
+ hidden_dentry->d_op->d_hash) {
+- err = hidden_dentry->d_op->d_hash(hidden_dentry, name);
++ err = hidden_dentry->d_op->d_hash(hidden_dentry, hidden_sto_dentry->d_inode, name);
+ }
+ goto out;
+ }
+@@ -116,14 +116,14 @@ mini_fo_d_hash(dentry_t *dentry, qstr_t
+ if(hidden_sto_dentry &&
+ hidden_sto_dentry->d_op &&
+ hidden_sto_dentry->d_op->d_hash) {
+- err = hidden_sto_dentry->d_op->d_hash(hidden_sto_dentry, name);
++ err = hidden_sto_dentry->d_op->d_hash(hidden_sto_dentry, hidden_sto_dentry->d_inode, name);
+ goto out;
+ }
+ hidden_dentry = dtohd(dentry);
+ if(hidden_dentry &&
+ hidden_dentry->d_op &&
+ hidden_dentry->d_op->d_hash) {
+- err = hidden_dentry->d_op->d_hash(hidden_dentry, name);
++ err = hidden_dentry->d_op->d_hash(hidden_dentry, hidden_sto_dentry->d_inode, name);
+ goto out;
+ }
+ }