X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=fs%2Fubifs%2Freplay.c;h=1064cb29ba8828e0b0347d6665d1c0a9b897b368;hb=4adcb2380c899be91e46be93662084b3e08c5f21;hp=6393b15b1852d95300181248e114736030b9b2ac;hpb=5ddc329341a9a143f0567494e5f874008b22e1a7;p=oweals%2Fu-boot.git diff --git a/fs/ubifs/replay.c b/fs/ubifs/replay.c index 6393b15b18..1064cb29ba 100644 --- a/fs/ubifs/replay.c +++ b/fs/ubifs/replay.c @@ -21,7 +21,6 @@ * larger is the journal, the more memory its index may consume. */ -#define __UBOOT__ #ifdef __UBOOT__ #include #include @@ -79,7 +78,6 @@ struct bud_entry { int dirty; }; -#ifndef __UBOOT__ /** * set_bud_lprops - set free and dirty space used by a bud. * @c: UBIFS file-system description object @@ -433,7 +431,6 @@ static int insert_dent(struct ubifs_info *c, int lnum, int offs, int len, list_add_tail(&r->list, &c->replay_list); return 0; } -#endif /** * ubifs_validate_entry - validate directory or extended attribute entry node. @@ -467,7 +464,6 @@ int ubifs_validate_entry(struct ubifs_info *c, return 0; } -#ifndef __UBOOT__ /** * is_last_bud - check if the bud is the last in the journal head. * @c: UBIFS file-system description object @@ -1064,4 +1060,3 @@ out: c->replaying = 0; return err; } -#endif