Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f86bbcf8 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4.1: Replace dprintk() in pnfs_update_layout with something less buggy



Dereferencing nfsi->layout in order to read plh_flags without holding
a spin lock is bug prone. Furthermore, the dprintk() tells you nothing
about whether or not the call succeeded.
Replace it with something that tells you about whether or not a valid
layout segment was returned for the inode in question.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 78e4e05c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment