diff options
author | Chandan Babu R <chandanrlinux@gmail.com> | 2021-01-23 03:48:11 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-01-23 03:54:47 +0300 |
commit | 85ef08b5a667615bc7be5058259753dc42a7adcd (patch) | |
tree | 3eb09dee8e0beb0bd23eed4541b324f0dfd035e1 /fs/sync.c | |
parent | 727e1acd297cae15449607d6e2ee39c71216cf1a (diff) | |
download | linux-85ef08b5a667615bc7be5058259753dc42a7adcd.tar.xz |
xfs: Check for extent overflow when punching a hole
The extent mapping the file offset at which a hole has to be
inserted will be split into two extents causing extent count to
increase by 1.
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: Chandan Babu R <chandanrlinux@gmail.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions