linux/fs/afs
David Howells fa59f52f5b afs: afs_unlink() doesn't need to check dentry->d_inode
Don't check that dentry->d_inode is valid in afs_unlink().  We should be
able to take that as given.

This caused Smatch to issue the following warning:

	fs/afs/dir.c:1392 afs_unlink() error: we previously assumed 'vnode' could be null (see line 1375)

Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
2019-06-20 18:12:16 +01:00
..
addr_list.c dns_resolver: Allow used keys to be invalidated 2019-05-15 17:35:54 +01:00
afs_cm.h afs: support the CB.ProbeUuid RPC op 2008-04-29 08:06:26 -07:00
afs_fs.h afs: implement acl setting 2019-05-07 16:48:44 +01:00
afs_vl.h afs: Make use of the YFS service upgrade to fully support IPv6 2017-11-13 15:38:19 +00:00
afs.h afs: Fix application of the results of a inline bulk status fetch 2019-05-16 22:23:21 +01:00
cache.c afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS 2018-10-24 00:41:08 +01:00
callback.c afs: Fix uninitialised spinlock afs_volume::cb_break_lock 2019-06-20 16:49:35 +01:00
cell.c afs: Fix cell DNS lookup 2019-05-16 12:58:23 +01:00
cmservice.c afs: Get rid of afs_call::reply[] 2019-05-16 16:25:21 +01:00
dir_edit.c afs: Locally edit directory data for mkdir/create/unlink/... 2018-04-09 21:54:48 +01:00
dir_silly.c afs: Fix application of status and callback to be under same lock 2019-05-16 16:25:21 +01:00
dir.c afs: afs_unlink() doesn't need to check dentry->d_inode 2019-06-20 18:12:16 +01:00
dynroot.c afs: Make dynamic root population wait uninterruptibly for proc_cells_lock 2019-05-16 16:25:21 +01:00
file.c afs: Fix application of status and callback to be under same lock 2019-05-16 16:25:21 +01:00
flock.c afs: Fix application of status and callback to be under same lock 2019-05-16 16:25:21 +01:00
fs_probe.c afs: Get rid of afs_call::reply[] 2019-05-16 16:25:21 +01:00
fsclient.c afs: Fix unlink to handle YFS.RemoveFile2 better 2019-05-16 22:23:21 +01:00
inode.c afs: Fix setting of i_blocks 2019-06-20 18:12:02 +01:00
internal.h afs: Fix uninitialised spinlock afs_volume::cb_break_lock 2019-06-20 16:49:35 +01:00
Kconfig afs: Allow dumping of server cursor on operation failure 2018-10-24 00:41:09 +01:00
main.c afs: Fix cell proc list 2018-10-12 13:18:57 +02:00
Makefile afs: Implement sillyrename for unlink and rename 2019-04-25 14:26:51 +01:00
misc.c afs: Mark expected switch fall-throughs 2019-04-08 18:35:56 -05:00
mntpt.c afs: Use fs_context to pass parameters over automount 2019-02-28 03:29:39 -05:00
netdevices.c afs: Implement network namespacing 2018-05-23 12:01:15 +01:00
proc.c afs: Fix afs_cell records to always have a VL server list record 2019-05-15 17:35:53 +01:00
protocol_yfs.h afs: Get YFS ACLs and information through xattrs 2019-05-07 16:48:44 +01:00
rotate.c afs: Make vnode->cb_interest RCU safe 2019-05-16 22:23:21 +01:00
rxrpc.c afs: Always get the reply time 2019-05-16 16:25:21 +01:00
security.c afs: Make vnode->cb_interest RCU safe 2019-05-16 22:23:21 +01:00
server_list.c afs: Use struct_size() in kzalloc() 2019-01-10 17:12:05 +00:00
server.c afs: Make some RPC operations non-interruptible 2019-05-16 16:25:20 +01:00
super.c afs: Pass pre-fetch server and volume break counts into afs_iget5_set() 2019-05-16 22:23:21 +01:00
vl_list.c afs: Fix afs_cell records to always have a VL server list record 2019-05-15 17:35:53 +01:00
vl_probe.c afs: Get rid of afs_call::reply[] 2019-05-16 16:25:21 +01:00
vl_rotate.c afs: Fix cell DNS lookup 2019-05-16 12:58:23 +01:00
vlclient.c afs: Always get the reply time 2019-05-16 16:25:21 +01:00
volume.c afs: Fix uninitialised spinlock afs_volume::cb_break_lock 2019-06-20 16:49:35 +01:00
write.c afs: Fix application of status and callback to be under same lock 2019-05-16 16:25:21 +01:00
xattr.c afs: Fix application of status and callback to be under same lock 2019-05-16 16:25:21 +01:00
xdr_fs.h afs: Adjust the directory XDR structures 2018-04-09 21:54:48 +01:00
yfsclient.c afs: Fix unlink to handle YFS.RemoveFile2 better 2019-05-16 22:23:21 +01:00