From abcac74a1986edb6de03a8d1827709baf343a1e9 Mon Sep 17 00:00:00 2001 From: acoul Date: Tue, 5 Oct 2010 09:49:53 +0000 Subject: linux/generic: update kernel patch refreshing. Include two missed patches. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23240 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic/patches-2.6.36/209-mini_fo.patch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'target/linux/generic/patches-2.6.36/209-mini_fo.patch') 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 d7e3220d2..10900b4e1 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; + -- cgit v1.2.3