commit | 0d47c1adc2a1f1e4f4673f122a8328c90c58e232 | [log] [tgz] |
---|---|---|
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | Thu Dec 26 18:24:19 2013 +0800 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Thu Dec 26 20:37:52 2013 +0900 |
tree | 21ee9e706d01f10b633036a5eea4522c509c43fc | |
parent | 944fcfc18445b22d7ad1953a6effcfbdc4ffec74 [diff] |
f2fs: convert max_orphans to a field of f2fs_sb_info Previously, we need to calculate the max orphan num when we try to acquire an orphan inode, but it's a stable value since the super block was inited. So converting it to a field of f2fs_sb_info and use it directly when needed seems a better choose. Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>