projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fad5656
)
xfs: use NULL instead of 0 to initialize a pointer in xfs_ioc_getfsmap
author
Christoph Hellwig
<hch@lst.de>
Fri, 21 Apr 2017 18:24:40 +0000
(11:24 -0700)
committer
Darrick J. Wong
<darrick.wong@oracle.com>
Tue, 25 Apr 2017 16:40:41 +0000
(09:40 -0700)
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>
fs/xfs/xfs_ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_ioctl.c
b/fs/xfs/xfs_ioctl.c
index fee6b4a3a83d4bbc00fdc384434d5b515e78f11b..0f8bed9a7e4c6aa57952b9108bf0f30bd1f44fc3 100644
(file)
--- a/
fs/xfs/xfs_ioctl.c
+++ b/
fs/xfs/xfs_ioctl.c
@@
-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;