aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.36/209-mini_fo.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-10-04 20:43:07 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-10-04 20:43:07 +0000
commit7f473a276fb0eea0c31c6192080c66f03f6ff69d (patch)
tree8592a16c2ef758627dfa3489735a0ef38a96ddd4 /target/linux/generic/patches-2.6.36/209-mini_fo.patch
parent7cb70cb2b8f2b3e31d3e86576141abb161593fb6 (diff)
downloadupstream-7f473a276fb0eea0c31c6192080c66f03f6ff69d.tar.gz
upstream-7f473a276fb0eea0c31c6192080c66f03f6ff69d.tar.bz2
upstream-7f473a276fb0eea0c31c6192080c66f03f6ff69d.zip
kernel: fix some build warnings with kernel 2.6.36
SVN-Revision: 23226
Diffstat (limited to 'target/linux/generic/patches-2.6.36/209-mini_fo.patch')
-rw-r--r--target/linux/generic/patches-2.6.36/209-mini_fo.patch6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/generic/patches-2.6.36/209-mini_fo.patch b/target/linux/generic/patches-2.6.36/209-mini_fo.patch
index d7e3220d24..10900b4e18 100644
--- a/target/linux/generic/patches-2.6.36/209-mini_fo.patch
+++ b/target/linux/generic/patches-2.6.36/209-mini_fo.patch
@@ -7492,7 +7492,7 @@
+
--- /dev/null
+++ b/fs/mini_fo/super.c
-@@ -0,0 +1,281 @@
+@@ -0,0 +1,285 @@
+/*
+ * Copyright (c) 1997-2003 Erez Zadok
+ * Copyright (c) 2001-2003 Stony Brook University
@@ -7665,7 +7665,11 @@
+ struct dentry *hidden_d;
+
+ hidden_d = dtohd(d);
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)
++ err = statfs_by_dentry(hidden_d, buf);
++#else
+ err = vfs_statfs(hidden_d, buf);
++#endif
+#else
+ super_block_t *hidden_sb;
+