diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-03 09:11:31 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-04 18:06:40 -0700 |
commit | 11715a21bc3035440b853a0334685f1a55ca8c3c (patch) | |
tree | 36e8e8f19aaa7fc813cb243509c625fd73027621 /fs/xfs/libxfs/xfs_inode_fork.h | |
parent | f0ec1b8ef11df0a51954df7e3ff3ca4aadb0d34b (diff) |
xfs: don't allow reflinked dir/dev/fifo/socket/pipe files
Only non-rt files can be reflinked, so check that when we load an
inode. Also, don't leak the attr fork if there's a failure.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_fork.h')
0 files changed, 0 insertions, 0 deletions