diff options
author | Nick Bowler <nbowler@draconx.ca> | 2018-12-17 18:35:27 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-12-18 19:55:20 +0100 |
commit | c456d64449efe37da50832b63d91652a85ea1d20 (patch) | |
tree | ab305c4d8420813530e61b568b142dcc0fcf68f1 /MAINTAINERS | |
parent | xfs: require both realtime inodes to mount (diff) | |
download | linux-c456d64449efe37da50832b63d91652a85ea1d20.tar.xz linux-c456d64449efe37da50832b63d91652a85ea1d20.zip |
xfs: Align compat attrlist_by_handle with native implementation.
While inspecting the ioctl implementations, I noticed that the compat
implementation of XFS_IOC_ATTRLIST_BY_HANDLE does not do exactly the
same thing as the native implementation. Specifically, the "cursor"
does not appear to be written out to userspace on the compat path,
like it is on the native path.
This adjusts the compat implementation to copy out the cursor just
like the native implementation does. The attrlist cursor does not
require any special compat handling. This fixes xfstests xfs/269
on both IA-32 and x32 userspace, when running on an amd64 kernel.
Signed-off-by: Nick Bowler <nbowler@draconx.ca>
Fixes: 0facef7fb053b ("xfs: in _attrlist_by_handle, copy the cursor back to userspace")
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions