diff options
| author | Zhang Yi <yi.zhang@huawei.com> | 2026-03-27 18:29:36 +0800 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-04-09 21:57:52 -0400 |
| commit | c3688d212fc6306bbb7136fbc1d0be0f175a5270 (patch) | |
| tree | 5d2867bf7cc05aa2b617297fb32829a93a8e6c72 /rust/kernel/alloc | |
| parent | 7d81ec0246ff74b10d92a4617fea84eaf06162c0 (diff) | |
ext4: unify SYNC mode checks in fallocate paths
In the ext4 fallocate call chain, SYNC mode handling is inconsistent:
some places check the inode state, while others check the open file
descriptor state. Unify these checks by evaluating both conditions
to ensure consistent behavior across all fallocate operations.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260327102939.1095257-11-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
