From: Trond Myklebust Date: Wed, 26 Sep 2012 15:21:40 +0000 (-0400) Subject: NFSv4.1: Replace dprintk() in pnfs_update_layout with something less buggy X-Git-Tag: v3.7-rc1~58^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f86bbcf85db32596a0484477d1b8042005709049;p=pandora-kernel.git 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 --- Reading git-diff-tree failed