diff options
author | Luis Henriques (SUSE) <luis.henriques@linux.dev> | 2024-09-23 11:49:08 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-10-04 17:35:54 -0400 |
commit | faab35a0370fd6e0821c7a8dd213492946fc776f (patch) | |
tree | 4370fa435192e1739c801f483644df4b7d6d1361 /samples/rpmsg | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
ext4: use handle to mark fc as ineligible in __track_dentry_update()
Calling ext4_fc_mark_ineligible() with a NULL handle is racy and may result
in a fast-commit being done before the filesystem is effectively marked as
ineligible. This patch fixes the calls to this function in
__track_dentry_update() by adding an extra parameter to the callback used in
ext4_fc_track_template().
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Luis Henriques (SUSE) <luis.henriques@linux.dev>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240923104909.18342-2-luis.henriques@linux.dev
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'samples/rpmsg')
0 files changed, 0 insertions, 0 deletions