diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2024-05-17 20:40:03 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-06-27 18:04:50 -0400 |
commit | 49bf6ab4d30b7a39d86a585e0a58f6c449d2e009 (patch) | |
tree | 82834a659a5f96581132dcb6ab957d7acc0aadf0 /fs/ext4/fast_commit.c | |
parent | 0d66b23d79c750276f791411d81a524549a64852 (diff) |
ext4: factor out a helper to check the cluster allocation state
Factor out a common helper ext4_clu_alloc_state(), check whether the
cluster containing a delalloc block to be added has been allocated or
has delalloc reservation, no logic changes.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240517124005.347221-9-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions