aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-14 12:49:35 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 13:25:59 -0400
commit4415626732defb5a4567a0a757c7c5baae7ca846 (patch)
tree31b02e4a1882d243f5fbc8599dae8fac66d917fb /fs/ubifs
parenta65a0eb6d198e058687a9214683bd1c418f20d39 (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.c5
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;