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)
commit9af45ef5ab8ce4a13c553200dc15509441fbd68f
tree7a1d76bb6d1d87ab0a3eace1311446666ec01c18
parenta7fdffbd3ea4b3cc2993af006bde38a423b38b72
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