commit | 7704182387f7eab6217a587420f8a3b3aa2d17d5 | [log] [tgz] |
---|---|---|
author | Huang Ying <ying.huang@intel.com> | Fri Sep 12 20:19:48 2014 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Sep 16 04:10:45 2014 -0700 |
tree | 6bdc21baa79c89f69ca9453d3887945f0ab828da | |
parent | c1ce1b02bb25640567dc484dc94d3a195d21e705 [diff] |
f2fs: use nm_i->next_scan_nid as default for next_free_nid Now, if there is no free nid in nm_i->free_nid_list, 0 may be saved into next_free_nid of checkpoint, this may cause useless scanning for next mount. nm_i->next_scan_nid should be a better default value than 0. Signed-off-by: Huang, Ying <ying.huang@intel.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>