commit | 25c0a6e529b56ca010e1f46239edd07c1b484b63 | [log] [tgz] |
---|---|---|
author | Namjae Jeon <namjae.jeon@samsung.com> | Sat Mar 02 12:41:31 2013 +0900 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Mon Mar 18 21:00:36 2013 +0900 |
tree | 164db0f8936c4260340d6df1ef58036de8aca1af | |
parent | 5a20d339c785d98d8b050b9afc098e4184a6098c [diff] |
f2fs: avoid extra ++ while returning from get_node_path In all the breaking conditions in get_node_path, 'n' is used to track index in offset[] array, but while breaking out also, in all paths n++ is done. So, remove the ++ from breaking paths. Also, avoid reset of 'level=0' in first case. Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>