diff options
author | David Howells <dhowells@redhat.com> | 2019-06-20 18:12:16 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-06-20 18:12:16 +0100 |
commit | fa59f52f5b1412c373813e24e7cbe5ab44518ed8 (patch) | |
tree | 5d6226d6d4fbb25e202e391a9d722cdf5c41dcaa /fs/9p | |
parent | 2cd42d19cffa0ec3dfb57b1b3e1a07a9bf4ed80a (diff) | |
download | linux-fa59f52f5b1412c373813e24e7cbe5ab44518ed8.tar.bz2 |
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>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions