]> www.infradead.org Git - users/willy/xarray.git/commit
ext4: let __revise_pending() return newly inserted pendings
authorZhang Yi <yi.zhang@huawei.com>
Tue, 13 Aug 2024 12:34:44 +0000 (20:34 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 2 Sep 2024 19:26:14 +0000 (15:26 -0400)
commitfccd632670408ab3066712aa90cc972b18d1b617
treec373d688d0bbd37a13c3f102a297eaf2e6dd6d65
parenteba8c368c8cb9ea05c08caf3dd1a0d0b87d614dc
ext4: let __revise_pending() return newly inserted pendings

Let __insert_pending() return 1 after successfully inserting a new
pending cluster, and also let __revise_pending() to return the number of
of newly inserted pendings.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20240813123452.2824659-5-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents_status.c