diff options
Diffstat (limited to 'fs/jffs2/readinode.c')
-rw-r--r-- | fs/jffs2/readinode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c index 02b02c1146bf..339ba46320fa 100644 --- a/fs/jffs2/readinode.c +++ b/fs/jffs2/readinode.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * | 7 | * |
8 | * For licensing information, see the file 'LICENCE' in this directory. | 8 | * For licensing information, see the file 'LICENCE' in this directory. |
9 | * | 9 | * |
10 | * $Id: readinode.c,v 1.129 2005/07/22 10:32:08 dedekind Exp $ | 10 | * $Id: readinode.c,v 1.130 2005/07/24 15:29:56 dedekind Exp $ |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
@@ -273,7 +273,7 @@ static int jffs2_add_frag_to_fragtree(struct jffs2_sb_info *c, struct rb_root *l | |||
273 | return 0; | 273 | return 0; |
274 | } | 274 | } |
275 | 275 | ||
276 | void jffs2_truncate_fraglist (struct jffs2_sb_info *c, struct rb_root *list, uint32_t size) | 276 | void jffs2_truncate_fragtree (struct jffs2_sb_info *c, struct rb_root *list, uint32_t size) |
277 | { | 277 | { |
278 | struct jffs2_node_frag *frag = jffs2_lookup_node_frag(list, size); | 278 | struct jffs2_node_frag *frag = jffs2_lookup_node_frag(list, size); |
279 | 279 | ||
@@ -534,7 +534,7 @@ static int jffs2_do_read_inode_internal(struct jffs2_sb_info *c, | |||
534 | 534 | ||
535 | case S_IFREG: | 535 | case S_IFREG: |
536 | /* If it was a regular file, truncate it to the latest node's isize */ | 536 | /* If it was a regular file, truncate it to the latest node's isize */ |
537 | jffs2_truncate_fraglist(c, &f->fragtree, je32_to_cpu(latest_node->isize)); | 537 | jffs2_truncate_fragtree(c, &f->fragtree, je32_to_cpu(latest_node->isize)); |
538 | break; | 538 | break; |
539 | 539 | ||
540 | case S_IFLNK: | 540 | case S_IFLNK: |