diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-09-18 09:41:16 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-09-25 18:22:30 -0700 |
commit | cc6f77710a6de6210f9feda7cd53e2f5ee7a7e69 (patch) | |
tree | a312cbbabafd119183b5105baf9d4829e6056046 /fs/nls/mac-croatian.c | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) | |
download | linux-cc6f77710a6de6210f9feda7cd53e2f5ee7a7e69.tar.gz linux-cc6f77710a6de6210f9feda7cd53e2f5ee7a7e69.tar.bz2 linux-cc6f77710a6de6210f9feda7cd53e2f5ee7a7e69.zip |
xfs: don't unconditionally clear the reflink flag on zero-block files
If we have speculative cow preallocations hanging around in the cow
fork, don't let a truncate operation clear the reflink flag because if
we do then there's a chance we'll forget to free those extents when we
destroy the incore inode.
Reported-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/nls/mac-croatian.c')
0 files changed, 0 insertions, 0 deletions