diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-14 12:49:35 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-20 13:25:59 -0400 |
commit | 4415626732defb5a4567a0a757c7c5baae7ca846 (patch) | |
tree | 31b02e4a1882d243f5fbc8599dae8fac66d917fb /fs/ubifs | |
parent | a65a0eb6d198e058687a9214683bd1c418f20d39 (diff) |
UBI: amend commentaries WRT dtype
Richard removed the "dtype" hint, but few commentaries were left and this patch
removes them. I've also added a better description about the "dtype" field in
the ubi-user.h for people who may ever wonder what was that dtype thing about.
This patch also adds an important note that it is better to use value "3" for
the "dtype" field.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/super.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index d7cbf7aabdb..001acccac0d 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c | |||
@@ -814,9 +814,8 @@ static int alloc_wbufs(struct ubifs_info *c) | |||
814 | } | 814 | } |
815 | 815 | ||
816 | /* | 816 | /* |
817 | * Garbage Collector head likely contains long-term data and | 817 | * Garbage Collector head does not need to be synchronized by timer. |
818 | * does not need to be synchronized by timer. Also GC head nodes are | 818 | * Also GC head nodes are not grouped. |
819 | * not grouped. | ||
820 | */ | 819 | */ |
821 | c->jheads[GCHD].wbuf.no_timer = 1; | 820 | c->jheads[GCHD].wbuf.no_timer = 1; |
822 | c->jheads[GCHD].grouped = 0; | 821 | c->jheads[GCHD].grouped = 0; |