mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
pNFS/flexfiles: Check the layout validity in ff_layout_mirror_prepare_stats
commite1c6cfbb3bupstream. Ensure that we check the layout pointer and validity after dereferencing it in ff_layout_mirror_prepare_stats. Fixes:08e2e5bc6c("pNFS/flexfiles: Clean up layoutstats") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
730bbbbe16
commit
ab65424d61
1 changed files with 10 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue