diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ubifs/lprops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ubifs/lprops.c b/fs/ubifs/lprops.c index 6c3a1abd0e22..f5a46844340c 100644 --- a/fs/ubifs/lprops.c +++ b/fs/ubifs/lprops.c | |||
@@ -244,7 +244,6 @@ static void remove_from_lpt_heap(struct ubifs_info *c, | |||
244 | /** | 244 | /** |
245 | * lpt_heap_replace - replace lprops in a category heap. | 245 | * lpt_heap_replace - replace lprops in a category heap. |
246 | * @c: UBIFS file-system description object | 246 | * @c: UBIFS file-system description object |
247 | * @old_lprops: LEB properties to replace | ||
248 | * @new_lprops: LEB properties with which to replace | 247 | * @new_lprops: LEB properties with which to replace |
249 | * @cat: LEB category | 248 | * @cat: LEB category |
250 | * | 249 | * |
@@ -254,7 +253,6 @@ static void remove_from_lpt_heap(struct ubifs_info *c, | |||
254 | * lprops. This function does that. | 253 | * lprops. This function does that. |
255 | */ | 254 | */ |
256 | static void lpt_heap_replace(struct ubifs_info *c, | 255 | static void lpt_heap_replace(struct ubifs_info *c, |
257 | struct ubifs_lprops *old_lprops, | ||
258 | struct ubifs_lprops *new_lprops, int cat) | 256 | struct ubifs_lprops *new_lprops, int cat) |
259 | { | 257 | { |
260 | struct ubifs_lpt_heap *heap; | 258 | struct ubifs_lpt_heap *heap; |
@@ -362,7 +360,7 @@ void ubifs_replace_cat(struct ubifs_info *c, struct ubifs_lprops *old_lprops, | |||
362 | case LPROPS_DIRTY: | 360 | case LPROPS_DIRTY: |
363 | case LPROPS_DIRTY_IDX: | 361 | case LPROPS_DIRTY_IDX: |
364 | case LPROPS_FREE: | 362 | case LPROPS_FREE: |
365 | lpt_heap_replace(c, old_lprops, new_lprops, cat); | 363 | lpt_heap_replace(c, new_lprops, cat); |
366 | break; | 364 | break; |
367 | case LPROPS_UNCAT: | 365 | case LPROPS_UNCAT: |
368 | case LPROPS_EMPTY: | 366 | case LPROPS_EMPTY: |