Jie Liu
5a01dd54f4
xfs: fix assertion failure at xfs_setattr_nonsize
...
For CRC enabled v5 super block, change a file's ownership can simply
trigger an ASSERT failure at xfs_setattr_nonsize() if both group and
project quota are enabled, i.e,
[ 305.337609] XFS: Assertion failed: !XFS_IS_PQUOTA_ON(mp), file: fs/xfs/xfs_iops.c, line: 621
[ 305.339250] Kernel BUG at ffffffffa0a7fa32 [verbose debug info unavailable]
[ 305.383939] Call Trace:
[ 305.385536] [<ffffffffa0a7d95a>] xfs_setattr_nonsize+0x69a/0x720 [xfs]
[ 305.387142] [<ffffffffa0a7dea9>] xfs_vn_setattr+0x29/0x70 [xfs]
[ 305.388727] [<ffffffff811ca388>] notify_change+0x1a8/0x350
[ 305.390298] [<ffffffff811ac39d>] chown_common+0xfd/0x110
[ 305.391868] [<ffffffff811ad6bf>] SyS_fchownat+0xaf/0x110
[ 305.393440] [<ffffffff811ad760>] SyS_lchown+0x20/0x30
[ 305.394995] [<ffffffff8170f7dd>] system_call_fastpath+0x1a/0x1f
[ 305.399870] RIP [<ffffffffa0a7fa32>] assfail+0x22/0x30 [xfs]
This fix adjust the assertion to check if the super block support both
quota inodes or not.
Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
2013-12-09 12:10:30 -06:00
..
2013-05-07 18:45:36 -05:00
2013-11-06 16:31:27 -06:00
2013-11-06 16:31:27 -06:00
2013-10-30 13:37:38 -05:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2013-10-23 16:28:49 -05:00
2013-06-06 10:52:15 -05:00
2013-10-23 14:11:30 -05:00
2013-10-30 13:59:56 -05:00
2013-10-23 16:28:49 -05:00
2013-11-06 12:42:52 -06:00
2013-10-23 14:11:30 -05:00
2013-10-30 15:44:51 -05:00
2013-09-04 09:23:46 -04:00
2013-10-30 13:47:22 -05:00
2013-10-30 13:59:56 -05:00
2013-10-23 14:21:40 -05:00
2013-10-30 13:47:22 -05:00
2013-10-30 13:59:56 -05:00
2013-10-23 14:21:40 -05:00
2013-10-23 16:28:49 -05:00
2013-08-12 16:53:39 -05:00
2013-10-30 13:59:56 -05:00
2013-10-30 13:59:56 -05:00
2013-10-23 16:28:49 -05:00
2013-10-23 16:28:49 -05:00
2013-10-21 16:57:03 -05:00
2013-11-18 09:12:54 -06:00
2013-08-12 16:58:37 -05:00
2013-10-23 16:28:49 -05:00
2013-10-23 16:28:49 -05:00
2013-10-30 13:59:56 -05:00
2013-10-23 16:28:49 -05:00
2013-12-04 13:53:34 -06:00
2013-09-10 18:56:31 -04:00
2012-11-19 20:11:24 -06:00
2013-10-30 13:49:18 -05:00
2013-10-30 13:37:38 -05:00
2013-10-30 13:59:56 -05:00
2013-10-30 13:48:41 -05:00
2013-07-25 10:41:42 -05:00
2013-10-30 13:49:18 -05:00
2013-10-30 13:57:14 -05:00
2013-10-30 13:49:18 -05:00
2013-12-05 16:51:19 -06:00
2013-10-30 13:47:22 -05:00
2013-10-30 13:49:18 -05:00
2013-10-30 13:49:18 -05:00
2013-10-30 13:49:18 -05:00
2013-10-30 13:49:18 -05:00
2013-12-04 15:42:52 -06:00
2011-08-12 16:21:35 -05:00
2013-10-30 13:59:56 -05:00
2013-10-23 16:28:49 -05:00
2011-08-12 16:21:35 -05:00
2013-10-23 16:28:49 -05:00
2013-10-23 14:11:30 -05:00
2013-10-23 16:28:49 -05:00
2011-03-07 10:09:35 +11:00
2013-10-23 16:28:49 -05:00
2011-08-12 16:21:35 -05:00
2013-10-23 16:28:49 -05:00
2013-10-23 16:28:49 -05:00
2013-10-23 16:17:44 -05:00
2013-08-12 16:07:13 -05:00
2013-10-23 16:28:49 -05:00
2013-10-23 16:28:49 -05:00
2013-08-12 17:00:11 -05:00
2013-10-23 16:28:49 -05:00
2013-10-08 14:28:09 -05:00
2013-12-05 16:19:51 -06:00
2011-01-11 20:28:17 -06:00
2012-11-08 15:34:59 -06:00
2013-10-30 13:59:56 -05:00
2013-10-23 16:28:49 -05:00
2013-11-06 12:42:52 -06:00
2013-10-23 16:28:49 -05:00
2013-10-23 16:28:49 -05:00
2013-09-12 16:13:41 -07:00
2013-10-23 16:17:44 -05:00
2013-08-12 16:10:35 -05:00
2013-10-23 16:28:49 -05:00
2013-10-23 14:11:30 -05:00
2013-10-31 16:43:19 -05:00
2013-10-23 16:28:49 -05:00
2013-10-23 16:28:49 -05:00
2013-08-12 16:05:19 -05:00
2013-11-04 13:18:48 -06:00
2013-10-30 13:37:38 -05:00
2012-05-14 16:20:54 -05:00
2013-12-04 14:23:46 -06:00
2011-08-12 16:21:35 -05:00
2013-12-04 14:23:46 -06:00
2013-08-12 16:56:06 -05:00
2013-10-23 16:28:49 -05:00
2013-10-01 15:42:34 -05:00
2013-12-09 12:10:30 -06:00
2013-10-21 16:57:03 -05:00
2013-10-23 16:28:49 -05:00
2013-08-20 15:30:23 -05:00
2013-10-23 16:17:44 -05:00
2013-10-23 14:11:30 -05:00
2013-10-23 16:17:44 -05:00
2013-12-05 16:50:47 -06:00
2013-10-23 16:28:49 -05:00
2013-11-06 12:41:51 -06:00
2013-10-23 16:17:44 -05:00
2013-10-23 16:17:44 -05:00
2013-05-07 18:45:36 -05:00
2013-11-18 09:29:36 -06:00
2013-11-18 09:29:36 -06:00
2011-02-01 11:42:43 +01:00
2013-10-23 16:28:49 -05:00
2013-12-06 14:06:15 -06:00
2013-12-06 16:10:21 -06:00
2013-12-06 14:16:33 -06:00
2013-10-23 14:28:35 -05:00
2013-10-23 14:28:35 -05:00
2013-10-23 16:28:49 -05:00
2013-10-23 17:16:32 -05:00
2013-10-23 17:16:32 -05:00
2013-10-30 13:59:56 -05:00
2013-10-30 16:38:29 -05:00
2013-10-23 14:11:30 -05:00
2013-10-23 14:11:30 -05:00
2012-03-14 11:09:06 -05:00
2012-03-14 11:09:06 -05:00
2013-11-14 17:16:35 +09:00
2012-10-17 12:01:25 -05:00
2013-10-23 16:17:44 -05:00
2013-10-23 16:28:49 -05:00
2013-10-08 14:53:02 -05:00
2013-06-17 17:42:25 -05:00
2012-11-08 15:34:59 -06:00
2013-10-23 16:28:49 -05:00
2013-11-06 12:42:52 -06:00
2013-11-06 12:41:51 -06:00
2013-10-23 16:28:49 -05:00
2013-12-04 14:26:57 -06:00
2013-10-23 16:17:44 -05:00
2013-11-18 09:42:08 -06:00
2013-10-23 16:17:44 -05:00
2013-11-18 09:29:36 -06:00
2013-08-12 17:48:08 -05:00
2013-10-23 16:28:49 -05:00
2013-10-23 16:28:49 -05:00
2013-08-22 08:40:24 -05:00
2013-12-04 14:11:05 -06:00
2013-10-23 16:28:49 -05:00
2013-05-07 18:45:36 -05:00