]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Invalidate inode extents cache on truncation.
authorFedor Uporov <fsu@FreeBSD.org>
Thu, 18 Feb 2021 08:00:07 +0000 (11:00 +0300)
committerFedor Uporov <fsu@FreeBSD.org>
Fri, 7 May 2021 07:27:37 +0000 (10:27 +0300)
commitb3f46656393f5c8a6e8305afeb5e8c3638025c26
tree28df20770542792d2cbb2e3b947b7974aad48006
parent5679656e09fb58254da1613ebda75e368074c507
Invalidate inode extents cache on truncation.

It is needed to invalidate cache in case of inode space removal
to avoid situation, when extents cache returns not exist extent.

Reviewed by:    pfg
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D29931
sys/fs/ext2fs/ext2_extents.c