diff options
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/pnfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 0f5b66f90d17..7d031cd7d920 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c | |||
@@ -768,7 +768,7 @@ pnfs_update_layout(struct inode *ino, | |||
768 | put_layout_hdr(lo); | 768 | put_layout_hdr(lo); |
769 | out: | 769 | out: |
770 | dprintk("%s end, state 0x%lx lseg %p\n", __func__, | 770 | dprintk("%s end, state 0x%lx lseg %p\n", __func__, |
771 | nfsi->layout->plh_flags, lseg); | 771 | nfsi->layout ? nfsi->layout->plh_flags : -1, lseg); |
772 | return lseg; | 772 | return lseg; |
773 | out_unlock: | 773 | out_unlock: |
774 | spin_unlock(&ino->i_lock); | 774 | spin_unlock(&ino->i_lock); |