]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: add comments of start_bidx_of_node
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 21 Jan 2013 08:34:21 +0000 (17:34 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 22 Jan 2013 01:48:59 +0000 (10:48 +0900)
commit67cc06d6bd62d2d641f1310e5337b391d73baa01
tree7a1d76bb6d1d87ab0a3eace1311446666ec01c18
parent12b4bf7e739e8747be8fb163c464280dca118202
f2fs: add comments of start_bidx_of_node

The caller of start_bidx_of_node() should give proper node offsets which
point only direct node blocks. Otherwise, it is a caller's bug.
This patch adds comments to make it clear.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/gc.c