mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
xfs: use NULL instead of 0 to initialize a pointer in xfs_ioc_getfsmap
Found by sparse. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
This commit is contained in:
parent
fad5656b22
commit
ef2b67ecf8
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue