diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-26 19:21:40 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-29 00:03:08 +0400 |
commit | f86bbcf85db32596a0484477d1b8042005709049 (patch) | |
tree | 38c8e879c737cc4a333fc44ca37430e07706b941 /drivers/usb | |
parent | 78e4e05c643768af170e5a4b21712d9a7a26cce5 (diff) | |
download | linux-f86bbcf85db32596a0484477d1b8042005709049.tar.xz |
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions