diff options
Diffstat (limited to 'fs/jffs2/fs.c')
-rw-r--r-- | fs/jffs2/fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c index 34731614b57a..cc18b92234c4 100644 --- a/fs/jffs2/fs.c +++ b/fs/jffs2/fs.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: fs.c,v 1.60 2005/07/22 10:32:08 dedekind Exp $ | 10 | * $Id: fs.c,v 1.61 2005/07/24 15:29:56 dedekind Exp $ |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
@@ -147,7 +147,7 @@ static int jffs2_do_setattr (struct inode *inode, struct iattr *iattr) | |||
147 | old_metadata = f->metadata; | 147 | old_metadata = f->metadata; |
148 | 148 | ||
149 | if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size) | 149 | if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size) |
150 | jffs2_truncate_fraglist (c, &f->fragtree, iattr->ia_size); | 150 | jffs2_truncate_fragtree (c, &f->fragtree, iattr->ia_size); |
151 | 151 | ||
152 | if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) { | 152 | if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) { |
153 | jffs2_add_full_dnode_to_inode(c, f, new_metadata); | 153 | jffs2_add_full_dnode_to_inode(c, f, new_metadata); |