Lukas Czerner
56bdf855e6
xfs: Fix per-inode DAX flag inheritance
...
According to the commit that implemented per-inode DAX flag:
commit 58f88ca2df72 ("xfs: introduce per-inode DAX enablement")
the flag is supposed to act as "inherit flag".
Currently this only works in the situations where parent directory
already has a flag in di_flags set, otherwise inheritance does not
work. This is because setting the XFS_DIFLAG2_DAX flag is done in a
wrong branch designated for di_flags, not di_flags2.
Fix this by moving the code to branch designated for setting di_flags2,
which does test for flags in di_flags2.
Fixes: 58f88ca2df72 ("xfs: introduce per-inode DAX enablement")
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2017-08-04 13:43:36 -07:00
..
2017-07-26 08:20:03 -07:00
2017-06-19 08:59:10 -07:00
2017-05-08 17:15:13 -07:00
2017-07-12 16:26:03 -07:00
2017-06-05 16:59:08 +02:00
2017-06-27 18:23:21 -07:00
2017-06-27 18:23:21 -07:00
2017-07-10 10:51:53 -07:00
2016-11-30 14:37:15 +11:00
2016-06-01 17:38:15 +10:00
2017-07-13 14:55:05 -07:00
2017-06-20 10:45:22 -07:00
2017-06-19 08:59:10 -07:00
2016-10-04 11:05:44 -07:00
2017-06-20 10:45:21 -07:00
2017-06-20 10:45:21 -07:00
2017-06-19 08:59:10 -07:00
2015-08-25 10:05:13 +10:00
2017-07-10 10:51:53 -07:00
2017-06-19 08:59:10 -07:00
2017-06-20 10:45:22 -07:00
2017-06-19 14:11:33 -07:00
2017-02-09 11:36:40 -08:00
2016-07-22 09:52:35 +10:00
2017-07-13 14:55:05 -07:00
2017-07-01 21:08:47 -07:00
2017-06-27 18:23:21 -07:00
2016-07-15 15:31:29 -04:00
2017-02-16 17:20:12 -08:00
2017-02-09 10:50:25 -08:00
2017-04-25 09:40:42 -07:00
2016-08-03 11:23:49 +10:00
2017-07-10 10:51:53 -07:00
2016-10-03 09:56:28 +11:00
2017-05-16 12:26:16 -07:00
2017-04-03 15:18:17 -07:00
2017-06-19 14:11:33 -07:00
2017-06-19 14:11:33 -07:00
2017-06-19 08:59:10 -07:00
2017-07-10 10:51:53 -07:00
2017-06-19 14:11:34 -07:00
2016-11-28 14:57:42 +11:00
2017-06-05 16:56:35 +02:00
2016-02-09 16:54:58 +11:00
2017-08-04 13:43:36 -07:00
2017-07-02 22:46:13 -07:00
2017-04-03 15:18:17 -07:00
2017-06-19 14:11:33 -07:00
2017-06-27 18:23:19 -07:00
2017-06-19 14:11:33 -07:00
2017-07-10 10:51:53 -07:00
2017-02-06 17:47:46 -08:00
2017-07-07 08:37:26 -07:00
2016-09-22 10:56:19 +02:00
2017-06-19 14:11:34 -07:00
2017-06-19 14:11:34 -07:00
2017-07-10 10:51:53 -07:00
2017-08-04 13:43:36 -07:00
2017-06-19 14:11:33 -07:00
2017-07-10 10:51:53 -07:00
2017-06-27 18:23:21 -07:00
2017-06-19 14:11:33 -07:00
2017-06-19 08:59:10 -07:00
2017-07-10 10:51:53 -07:00
2017-06-27 18:23:20 -07:00
2016-10-03 09:11:18 -07:00
2016-11-30 14:33:25 +11:00
2016-11-30 14:33:25 +11:00
2017-06-19 14:11:33 -07:00
2017-04-28 08:11:08 -07:00
2017-07-24 08:33:25 -07:00
2016-02-08 11:27:55 +11:00
2015-06-01 07:15:37 +10:00
2017-07-01 21:09:33 -07:00
2017-04-25 09:40:42 -07:00
2016-10-03 09:11:21 -07:00
2017-07-20 14:42:33 -07:00
2017-06-19 14:11:35 -07:00
2017-04-25 09:40:42 -07:00
2016-09-19 10:24:27 +10:00
2017-06-19 14:11:33 -07:00
2017-06-19 14:11:34 -07:00
2017-06-19 14:11:33 -07:00
2017-06-19 14:11:33 -07:00
2017-07-10 10:51:53 -07:00
2017-02-09 11:36:40 -08:00
2017-07-13 14:55:05 -07:00
2017-06-20 10:45:22 -07:00
2016-10-05 16:26:28 -07:00
2017-06-19 08:59:10 -07:00
2017-06-27 18:23:21 -07:00
2016-05-18 10:58:51 +10:00
2017-04-03 15:18:17 -07:00
2017-06-19 14:11:33 -07:00
2017-04-25 09:40:42 -07:00
2017-06-19 08:59:10 -07:00
2017-06-19 08:59:10 -07:00
2016-02-08 11:27:55 +11:00
2016-09-19 10:30:52 +10:00
2016-09-27 21:06:22 -04:00
2017-04-25 09:40:42 -07:00
2016-10-03 09:11:22 -07:00
2017-06-19 14:11:33 -07:00
2017-05-06 11:46:16 -07:00
2017-06-19 14:11:33 -07:00
2016-12-05 12:32:14 +11:00
2017-06-19 08:59:10 -07:00