[XFS] use NULL for pointer initialisation instead of zero-cast-to-ptr
SGI-PV: 954580 SGI-Modid: xfs-linux-melb:xfs-kern:26562a Signed-off-by: Nathan Scott <nathans@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
This commit is contained in:
committed by
Tim Shimmin
parent
8801bb99e4
commit
1121b219bf
@@ -458,7 +458,7 @@ nextag:
|
||||
*/
|
||||
if (XFS_FORCED_SHUTDOWN(mp)) {
|
||||
up_read(&mp->m_peraglock);
|
||||
return (xfs_buf_t *)0;
|
||||
return NULL;
|
||||
}
|
||||
agno++;
|
||||
if (agno >= agcount)
|
||||
@@ -466,7 +466,7 @@ nextag:
|
||||
if (agno == pagno) {
|
||||
if (flags == 0) {
|
||||
up_read(&mp->m_peraglock);
|
||||
return (xfs_buf_t *)0;
|
||||
return NULL;
|
||||
}
|
||||
flags = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user