diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2013-03-02 04:41:31 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-03-18 13:00:36 +0100 |
commit | 25c0a6e529b56ca010e1f46239edd07c1b484b63 (patch) | |
tree | 164db0f8936c4260340d6df1ef58036de8aca1af /fs/f2fs/recovery.c | |
parent | f2fs: align f2fs maximum name length to linux based filesystem (diff) | |
download | linux-25c0a6e529b56ca010e1f46239edd07c1b484b63.tar.xz linux-25c0a6e529b56ca010e1f46239edd07c1b484b63.zip |
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>
Diffstat (limited to 'fs/f2fs/recovery.c')
0 files changed, 0 insertions, 0 deletions