]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
f2fs: introduce private inode status mapping
authorChao Yu <yuchao0@huawei.com>
Tue, 3 Apr 2018 07:08:17 +0000 (15:08 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 31 May 2018 18:31:44 +0000 (11:31 -0700)
commit59c844088b19c545efcc4ed97f95c1e1100e12ca
tree86ecf232828a1c45640e355609783477924ceefe
parente555da9f31210d2b62805cd7faf29228af7c3cfb
f2fs: introduce private inode status mapping

Previously, we use generic FS_*_FL defined by vfs to indicate inode status
for each bit of i_flags, so f2fs's flag status definition is tied to vfs'
one, it will be hard for f2fs to reuse bits f2fs never used to indicate
new status..

In order to solve this issue, we introduce private inode status mapping,
Note, for these bits have already been persisted into disk, we should
never change their definition, for other ones, we can remap them for
later new coming status.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inode.c
fs/f2fs/namei.c
fs/f2fs/super.c