]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/nfs/direct.c
don't bother with ->d_inode->i_sb - it's always equal to ->d_sb
[mirror_ubuntu-artful-kernel.git] / fs / nfs / direct.c
index 7a0cfd3266e561620577bef3cf449171f10d9f92..e5daa932b82384729792c37196142a88891e633e 100644 (file)
@@ -396,7 +396,7 @@ static void nfs_direct_complete(struct nfs_direct_req *dreq, bool write)
 static void nfs_direct_readpage_release(struct nfs_page *req)
 {
        dprintk("NFS: direct read done (%s/%llu %d@%lld)\n",
-               d_inode(req->wb_context->dentry)->i_sb->s_id,
+               req->wb_context->dentry->d_sb->s_id,
                (unsigned long long)NFS_FILEID(d_inode(req->wb_context->dentry)),
                req->wb_bytes,
                (long long)req_offset(req));