summaryrefslogtreecommitdiffstats
path: root/fs/efs
diff options
context:
space:
mode:
authorDarrick J. Wong2018-01-23 04:19:26 +0100
committerDarrick J. Wong2018-01-29 16:27:22 +0100
commitbeaae8cd588ec7b4e58f4bc32f603be15fb11766 (patch)
treeec1741a6a8e6828c59849849b54ee0d29ee4d30e /fs/efs
parentxfs: call xfs_qm_dqattach before performing reflink operations (diff)
downloadkernel-qcow2-linux-beaae8cd588ec7b4e58f4bc32f603be15fb11766.tar.gz
kernel-qcow2-linux-beaae8cd588ec7b4e58f4bc32f603be15fb11766.tar.xz
kernel-qcow2-linux-beaae8cd588ec7b4e58f4bc32f603be15fb11766.zip
xfs: always zero di_flags2 when we free the inode
Always zero the di_flags2 field when we free the inode so that we never end up with an on-disk record for an unallocated inode that also has the reflink iflag set. This is in keeping with the general principle that only files can have the reflink iflag set, even though we'll zero out di_flags2 if we ever reallocate the inode. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions