commit | fa59f52f5b1412c373813e24e7cbe5ab44518ed8 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu Jun 20 18:12:16 2019 +0100 |
committer | David Howells <dhowells@redhat.com> | Thu Jun 20 18:12:16 2019 +0100 |
tree | 5d6226d6d4fbb25e202e391a9d722cdf5c41dcaa | |
parent | 2cd42d19cffa0ec3dfb57b1b3e1a07a9bf4ed80a [diff] |
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>