diff options
| author | Chao Yu <chao@kernel.org> | 2026-08-09 09:26:38 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2026-08-12 20:18:52 +0000 |
| commit | d3915a0a356e58b52ed05f4f22a90b02b663688a (patch) | |
| tree | eb6a6af4d79a7b421b2a93fbdf9e120dda0cd1f4 /scripts/const_structs.checkpatch | |
| parent | 5eced87b7d19dbc76ebdddaf322046f9ac582fcb (diff) | |
| download | linux-d3915a0a356e58b52ed05f4f22a90b02b663688a.tar.gz linux-d3915a0a356e58b52ed05f4f22a90b02b663688a.zip | |
f2fs: unify add/remove ino entry API for all ino types
- Call f2fs_add_ino_entry() and f2fs_remove_ino_entry() for ORPHAN_INO
- introduce __f2fs_add_ino_entry() to wrap __add_ino_entry(), so that
both f2fs_add_ino_entry() and f2fs_set_dirty_device() will call
__f2fs_add_ino_entry().
So, after this change:
add delete lookup
ORPHAN_INO f2fs_add_ino_entry f2fs_remove_ino_entry N/A
FLUSH_INO f2fs_set_dirty_device f2fs_remove_ino_entry f2fs_is_dirty_device
APPEND_INO f2fs_add_ino_entry f2fs_remove_ino_entry f2fs_exist_written_data
UPDATA_INO f2fs_add_ino_entry f2fs_remove_ino_entry f2fs_exist_written_data
TRANS_DIR_INO f2fs_add_ino_entry N/A f2fs_exist_written_data
XATTR_DIR_INO f2fs_add_ino_entry N/A f2fs_exist_written_data
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
