Christoph Hellwig 9d17e14cc0 xfs: fix __user annotations for xfs_ioc_getfsmap
By passing the whole fsmap_head structure and an index we can get the
user point annotations right for the embedded variable sized array
in struct fsmap_head.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: change idx to unsigned int]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2017-04-25 09:40:42 -07:00
..
2017-03-07 20:10:50 -08:00
2017-03-07 20:10:50 -08:00
2017-04-03 15:18:17 -07:00
2017-04-03 15:18:16 -07:00
2016-11-30 14:37:15 +11:00
2016-10-04 11:05:44 -07:00
2017-04-25 09:40:41 -07:00
2017-02-27 18:43:46 -08:00
2017-04-03 15:18:17 -07:00
2017-04-25 09:40:41 -07:00
2017-04-03 15:18:17 -07:00