Re: [PATCH] fsnotify/fdinfo: exportfs_encode_inode_fh() takes pointer as 4th argument

2019-10-17 Thread Jan Kara
On Wed 16-10-19 10:59:55, Ben Dooks (Codethink) wrote: > The call to exportfs_encode_inode_fh() takes an pointer > as the 4th argument, so replace the integer 0 with the > NULL pointer. > > This fixes the following sparse warning: > > fs/notify/fdinfo.c:53:87: warning: Using plain integer as NULL

[PATCH] fsnotify/fdinfo: exportfs_encode_inode_fh() takes pointer as 4th argument

2019-10-16 Thread Ben Dooks (Codethink)
The call to exportfs_encode_inode_fh() takes an pointer as the 4th argument, so replace the integer 0 with the NULL pointer. This fixes the following sparse warning: fs/notify/fdinfo.c:53:87: warning: Using plain integer as NULL pointer Signed-off-by: Ben Dooks --- Cc: Jan Kara Cc: Amir Goldst