Christoph Hellwig
d5f0f49a9b
xfs: clean up the attr flag confusion
...
The ATTR_* flags have a long IRIX history, where they a userspace
interface, the on-disk format and an internal interface. We've split
out the on-disk interface to the XFS_ATTR_* values, but despite (or
because?) of that the flag have still been a mess. Switch the
internal interface to pass the on-disk XFS_ATTR_* flags for the
namespace and the Linux XATTR_* flags for the actual flags instead.
The ATTR_* values that are actually used are move to xfs_fs.h with a
new XFS_IOC_* prefix to not conflict with the userspace version that
has the same name and must have the same value.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2020-03-02 20:55:55 -08:00
..
2020-03-02 20:55:55 -08:00
2020-03-02 20:55:55 -08:00
2019-05-21 10:50:46 +02:00
2019-11-10 10:21:57 -08:00
2019-11-18 08:40:44 -08:00
2019-11-10 16:54:24 -08:00
2018-06-06 14:17:53 -07:00
2020-03-02 20:55:55 -08:00
2020-03-02 20:55:55 -08:00
2020-03-02 20:55:51 -08:00
2019-10-28 08:37:54 -07:00
2020-01-26 14:32:26 -08:00
2020-03-02 20:55:54 -08:00
2019-07-10 10:04:16 -07:00
2019-11-18 08:40:44 -08:00
2019-06-28 19:27:36 -07:00
2020-03-02 20:55:51 -08:00
2019-11-03 10:22:30 -08:00
2020-01-26 14:32:27 -08:00
2020-01-16 08:07:24 -08:00
2020-03-02 20:55:51 -08:00
2020-01-26 14:32:27 -08:00
2019-11-22 08:17:10 -08:00
2020-01-26 14:32:27 -08:00
2017-11-02 11:10:55 +01:00
2019-08-26 12:06:22 -07:00
2019-11-13 18:22:28 -08:00
2020-03-02 20:55:50 -08:00
2019-11-13 18:22:26 -08:00
2019-11-18 08:40:44 -08:00
2019-11-12 17:19:02 -08:00
2019-06-28 19:30:43 -07:00
2018-06-06 14:17:53 -07:00
2019-11-03 10:22:31 -08:00
2018-06-06 14:17:53 -07:00
2019-11-18 08:40:44 -08:00
2019-06-28 19:27:35 -07:00
2020-01-15 22:13:11 -08:00
2020-01-26 14:32:26 -08:00
2018-06-06 14:17:53 -07:00
2019-11-05 08:28:27 -08:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2019-05-01 20:26:30 -07:00
2019-07-03 07:33:26 -07:00
2019-07-03 20:36:26 -07:00
2020-03-02 20:55:50 -08:00
2019-04-26 12:28:55 -07:00
2019-11-18 08:40:44 -08:00
2018-06-06 14:17:53 -07:00
2020-03-02 20:55:50 -08:00
2019-06-28 19:27:33 -07:00
2020-03-02 20:55:50 -08:00
2019-11-13 11:13:45 -08:00
2020-03-02 20:55:54 -08:00
2020-01-06 08:57:36 -08:00
2020-03-02 20:55:55 -08:00
2020-03-02 20:55:54 -08:00
2020-01-20 14:34:47 -08:00
2019-11-03 10:22:30 -08:00
2020-03-02 20:55:55 -08:00
2018-06-06 14:17:53 -07:00
2020-03-02 20:55:50 -08:00
2019-08-29 21:22:41 -07:00
2019-11-12 17:19:02 -08:00
2019-08-30 22:43:56 -07:00
2020-03-02 20:55:55 -08:00
2019-11-10 10:21:57 -08:00
2019-11-13 18:22:41 -08:00
2020-01-26 14:32:27 -08:00
2020-03-02 20:55:50 -08:00
2019-07-03 08:21:58 -07:00
2019-11-05 08:28:27 -08:00
2019-11-05 08:28:27 -08:00
2019-12-19 07:53:48 -08:00
2019-11-13 18:22:41 -08:00
2019-08-26 12:06:22 -07:00
2018-06-06 14:17:53 -07:00
2020-01-16 08:07:23 -08:00
2019-11-05 08:28:25 -08:00
2018-05-22 07:19:08 -07:00
2019-07-03 08:21:58 -07:00
2019-07-03 08:21:58 -07:00
2019-11-13 11:13:45 -08:00
2019-11-13 18:22:40 -08:00
2020-03-02 20:55:50 -08:00
2020-01-06 08:57:37 -08:00
2020-03-02 20:55:50 -08:00
2020-01-06 08:57:37 -08:00
2019-11-18 08:40:44 -08:00
2019-06-28 19:27:35 -07:00
2020-01-26 14:32:27 -08:00
2020-01-20 14:34:47 -08:00
2019-11-18 08:40:44 -08:00
2019-06-28 19:27:36 -07:00
2020-01-26 14:32:26 -08:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2018-10-18 17:21:39 +11:00
2020-02-08 13:26:41 -08:00
2019-10-21 09:04:57 -07:00
2020-03-02 20:55:50 -08:00
2019-11-10 10:21:57 -08:00
2019-06-28 19:30:43 -07:00
2019-07-03 07:33:26 -07:00
2019-09-24 09:40:19 -07:00
2018-06-06 14:17:53 -07:00
2019-06-28 19:30:43 -07:00
2020-03-02 20:55:55 -08:00
2020-03-02 20:55:51 -08:00
2020-01-26 14:32:27 -08:00
2020-01-06 08:57:37 -08:00
2019-06-28 19:27:31 -07:00
2019-11-18 08:40:44 -08:00
2020-01-26 14:32:26 -08:00
2020-03-02 20:55:55 -08:00
2018-08-12 08:37:31 -07:00