commit | ddd06c36bdb3ceed09c5fee3c8cf5ef7d1d9f6c9 | [log] [tgz] |
---|---|---|
author | Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> | Wed Oct 16 10:59:55 2019 +0100 |
committer | Jan Kara <jack@suse.cz> | Thu Oct 17 10:32:59 2019 +0200 |
tree | e8fd42cbc63453090ba6c2d1cc0c06a3e5a97dbf | |
parent | 4a0b20be60bf387a1e4f989ff9953c0d1e0858aa [diff] |
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: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Jan Kara <jack@suse.cz>