Whamcloud - gitweb
LU-6142 llite: don't cast arg to d_lustre_invalid() 24/40824/2
authorMr NeilBrown <neilb@suse.de>
Thu, 15 Oct 2020 03:32:02 +0000 (14:32 +1100)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 22:10:39 +0000 (22:10 +0000)
commit8034d85f2b0e8aa18ddeb4fd4bc544d8fc99737c
treea47c5c47e1dd922e0ac73d4af34a296c8b8e9bce
parentfca56be02b8fe074e7fce4bf8e9224a644cc7572
LU-6142 llite: don't cast arg to d_lustre_invalid()

There is no need to cast the arg to d_lustre_invalid() as it
is always of exactly the correct type.

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I48b103abe2755a2d8892439974744dea232db515
Reviewed-on: https://review.whamcloud.com/40824
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/dcache.c