diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-05 11:43:34 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-05 11:43:34 +0000 |
commit | 2e3f8c480e4e27cb843553820aff019cf7cb2649 (patch) | |
tree | 84982919b31a0221ba9a0d5a4f0f732f399262d9 /target/linux/generic/patches-2.6.32/009-jffs-fix-min-max-confusion.patch | |
parent | e005aed2231ce7bce0214061ea0d7f546c7fec24 (diff) | |
download | upstream-2e3f8c480e4e27cb843553820aff019cf7cb2649.tar.gz upstream-2e3f8c480e4e27cb843553820aff019cf7cb2649.tar.bz2 upstream-2e3f8c480e4e27cb843553820aff019cf7cb2649.zip |
linux/2.6.32: R.I.P.
SVN-Revision: 31597
Diffstat (limited to 'target/linux/generic/patches-2.6.32/009-jffs-fix-min-max-confusion.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.32/009-jffs-fix-min-max-confusion.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/target/linux/generic/patches-2.6.32/009-jffs-fix-min-max-confusion.patch b/target/linux/generic/patches-2.6.32/009-jffs-fix-min-max-confusion.patch deleted file mode 100644 index bc2734af0c..0000000000 --- a/target/linux/generic/patches-2.6.32/009-jffs-fix-min-max-confusion.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 0fed784b0f1ecf57d568ae60b2cada43f9d90759 Mon Sep 17 00:00:00 2001 -From: Roel Kluin <roel.kluin@gmail.com> -Date: Sat, 21 Nov 2009 16:34:36 +0100 -Subject: [PATCH] JFFS2: fix min/max confusion - -MAX_SUMMARY_SIZE was meant as a limit, not as a minimum - -Signed-off-by: Roel Kluin <roel.kluin@gmail.com> -Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> -Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> ---- - fs/jffs2/summary.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - ---- a/fs/jffs2/summary.c -+++ b/fs/jffs2/summary.c -@@ -23,7 +23,7 @@ - - int jffs2_sum_init(struct jffs2_sb_info *c) - { -- uint32_t sum_size = max_t(uint32_t, c->sector_size, MAX_SUMMARY_SIZE); -+ uint32_t sum_size = min_t(uint32_t, c->sector_size, MAX_SUMMARY_SIZE); - - c->summary = kzalloc(sizeof(struct jffs2_summary), GFP_KERNEL); - |