diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index 809cfec6683cf0689adbe5bf058f7c900e2a3bca..c386910dacc53b5300f019eec517fa88a04461bc 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -424,7 +424,11 @@ static int gc_node_segment(struct f2fs_sb_info *sbi,
 }
 
 /*
- * Calculate start block index that this node page contains
+ * Calculate start block index indicating the given node offset.
+ * Be careful, caller should give this node offset only indicating direct node
+ * blocks. If any node offsets, which point the other types of node blocks such
+ * as indirect or double indirect node blocks, are given, it must be a caller's
+ * bug.
  */
 block_t start_bidx_of_node(unsigned int node_ofs)
 {