summaryrefslogtreecommitdiff
path: root/fs/filesystems.c
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2013-12-26 10:24:19 (GMT)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-12-26 11:37:52 (GMT)
commit0d47c1adc2a1f1e4f4673f122a8328c90c58e232 (patch)
tree21ee9e706d01f10b633036a5eea4522c509c43fc /fs/filesystems.c
parent944fcfc18445b22d7ad1953a6effcfbdc4ffec74 (diff)
downloadlinux-0d47c1adc2a1f1e4f4673f122a8328c90c58e232.tar.xz
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>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions