diff options
author | Richard Weinberger <richard@nod.at> | 2012-05-14 17:55:51 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-23 13:04:03 +0300 |
commit | b4a7748a1841cfa2d37a93e0066c2bd0038ada39 (patch) | |
tree | 82f30ffaa054133d76f45a509b84b3cdb14a9218 /fs/ubifs/super.c | |
parent | b44bf03a57d7b410d2feb3c91efc914a4e6e47fe (diff) |
UBI: Kill data type hint
We do not need this feature and to our shame it even was not working
and there was a bug found very recently.
-- Artem Bityutskiy
Without the data type hint UBI2 (fastmap) will be easier to implement.
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r-- | fs/ubifs/super.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index edcc9b85ed0b..1c4de5fefbe0 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -814,13 +814,11 @@ static int alloc_wbufs(struct ubifs_info *c) c->jheads[i].grouped = 1; } - c->jheads[BASEHD].wbuf.dtype = UBI_SHORTTERM; /* * Garbage Collector head likely contains long-term data and * does not need to be synchronized by timer. Also GC head nodes are * not grouped. */ - c->jheads[GCHD].wbuf.dtype = UBI_LONGTERM; c->jheads[GCHD].wbuf.no_timer = 1; c->jheads[GCHD].grouped = 0; |