commit | bb69e8a228a74c9aa7b70f6624e5c4fa1af70533 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sun Sep 17 14:07:10 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 20 08:20:02 2017 +0200 |
tree | 86f39b011a09b26552c5d22eaccb7e733c953132 | |
parent | f46a61f686b0a8042ee4b7cb108ece81e3fb9401 [diff] |
xfs: don't set v3 xflags for v2 inodes commit dd60687ee541ca3f6df8758f38e6f22f57c42a37 upstream. Reject attempts to set XFLAGS that correspond to di_flags2 inode flags if the inode isn't a v3 inode, because di_flags2 only exists on v3. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>