From 79010ee81ebac196793d3d3bdbce2c5eb7ab639e Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Mon, 21 Jan 2013 17:34:21 +0900 Subject: [PATCH] --- yaml --- r: 348980 b: refs/heads/master c: 9af45ef5ab8ce4a13c553200dc15509441fbd68f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/f2fs/gc.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index dd9c4bee021e..447fc4bfb8ab 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a7fdffbd3ea4b3cc2993af006bde38a423b38b72 +refs/heads/master: 9af45ef5ab8ce4a13c553200dc15509441fbd68f diff --git a/trunk/fs/f2fs/gc.c b/trunk/fs/f2fs/gc.c index 809cfec6683c..c386910dacc5 100644 --- a/trunk/fs/f2fs/gc.c +++ b/trunk/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) {