xfs: use NULL instead of 0 to initialize a pointer in xfs_ioc_getfsmap
Found by sparse. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
parent
fad5656b22
commit
ef2b67ecf8
@ -1640,7 +1640,7 @@ xfs_ioc_getfsmap(
|
||||
struct xfs_inode *ip,
|
||||
void __user *arg)
|
||||
{
|
||||
struct getfsmap_info info = {0};
|
||||
struct getfsmap_info info = { NULL };
|
||||
struct xfs_fsmap_head xhead = {0};
|
||||
struct fsmap_head head;
|
||||
bool aborted = false;
|
||||
|
Loading…
Reference in New Issue
Block a user