mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 13:21:45 +00:00
xfs: use NULL instead of 0 to initialize a pointer in xfs_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
0c1d9e4a61
commit
fad5656b22
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ xfs_getfsmap(
|
||||||
struct xfs_trans *tp = NULL;
|
struct xfs_trans *tp = NULL;
|
||||||
struct xfs_fsmap dkeys[2]; /* per-dev keys */
|
struct xfs_fsmap dkeys[2]; /* per-dev keys */
|
||||||
struct xfs_getfsmap_dev handlers[XFS_GETFSMAP_DEVS];
|
struct xfs_getfsmap_dev handlers[XFS_GETFSMAP_DEVS];
|
||||||
struct xfs_getfsmap_info info = {0};
|
struct xfs_getfsmap_info info = { NULL };
|
||||||
int i;
|
int i;
|
||||||
int error = 0;
|
int error = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue