]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: safer handling of corrupted c_type
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Jun 2020 15:12:32 +0000 (11:12 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Jun 2020 15:12:32 +0000 (11:12 -0400)
commit7e85fc1bcabc6f14c4ef07783d2be62d2757078e
tree4086c70f23f26bcd29f07ab3d3600a8e230139ca
parent7c74a17eefa52ef217d64d02a977483352cbaa68
nfsd: safer handling of corrupted c_type

This can only happen if there's a bug somewhere, so let's make it a WARN
not a printk.  Also, I think it's safest to ignore the corruption rather
than trying to fix it by removing a cache entry.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfscache.c