Skip to content
Commit ddd06c36 authored by Ben Dooks (Codethink)'s avatar Ben Dooks (Codethink) Committed by Jan Kara
Browse files

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

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

Link: https://lore.kernel.org/r/20191016095955.3347-1-ben.dooks@codethink.co.uk


Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 4a0b20be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment