reiser4: use NULL for pointers
PATCH 1/1 reiser4: use NULL for pointers
From: Randy Dunlap <[email protected]>
Use NULL instead of 0 for pointers. fs/reiser4/plugin/item/ctail.c:1188:38: warning: Using plain integer as NULL pointer
Signed-off-by Randy Dunlap <[email protected]>
--- fs/reiser4/plugin/item/ctail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/reiser4/plugin/item/ctail.c +1 -1
@@ -1185,7 +1185,7 @@ static int alloc_convert_data(flush_pos_if (!pos->sq)return RETERR (-ENOMEM );memset (pos->sq,0 ,sizeof (*pos->sq)); -cluster_init_write (&pos->sq->clust,0 ); +cluster_init_write (&pos->sq->clust,NULL );return 0 ; }
---