android_kernel_xiaomi_sm8350/fs/fscache
Dan Carpenter 08a66859e6 FS-Cache: Remove unneeded null checks
fscache_write_op() makes unnecessary checks of the page variable to see if it
is NULL.  It can't be NULL at those points as the kernel would already have
crashed a little higher up where we examined page->index.

Furthermore, unless radix_tree_gang_lookup_tag() can return 1 but no page, a
NULL pointer crash should not be encountered there as we can only get there if
r_t_g_l_t() returned 1.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-06-01 13:32:11 -07:00
..
cache.c
cookie.c
fsdef.c
histogram.c
internal.h
Kconfig FS-Cache: Remove the EXPERIMENTAL flag 2010-03-08 07:32:34 -08:00
main.c
Makefile
netfs.c
object-list.c fs/fscache/object-list.c: fix warning on 32-bit 2010-05-26 08:19:23 -07:00
object.c SLOW_WORK: CONFIG_SLOW_WORK_PROC should be CONFIG_SLOW_WORK_DEBUG 2010-03-29 09:14:47 -07:00
operation.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
page.c FS-Cache: Remove unneeded null checks 2010-06-01 13:32:11 -07:00
proc.c
stats.c fs-cache: order the debugfs stats correctly 2010-04-07 08:38:05 -07:00