summaryrefslogtreecommitdiffstats
path: root/fs/ufs
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2019-06-20 18:12:16 +0100
committerDavid Howells <dhowells@redhat.com>2019-06-20 18:12:16 +0100
commitfa59f52f5b1412c373813e24e7cbe5ab44518ed8 (patch)
tree5d6226d6d4fbb25e202e391a9d722cdf5c41dcaa /fs/ufs
parent2cd42d19cffa0ec3dfb57b1b3e1a07a9bf4ed80a (diff)
downloadlinux-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/ufs')
0 files changed, 0 insertions, 0 deletions