[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:
Nathan Scott
2006-09-28 10:58:40 +10:00
committed by Tim Shimmin
parent 8801bb99e4
commit 1121b219bf
4 changed files with 15 additions and 15 deletions

View File

@@ -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;
}