Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH] NFS: Don't use debug-printk-only local variables | Date | Thu, 26 Sep 2013 13:39:03 +0100 |
| |
Olof Johansson <olof@lixom.net> wrote:
> - struct nfs_inode *nfsi = NFS_I(page->mapping->host); > struct fscache_cookie *cookie = nfs_i_fscache(page->mapping->host); > > BUG_ON(!cookie); > dfprintk(FSCACHE, "NFS: fscache releasepage (0x%p/0x%p/0x%p)\n", > - cookie, page, nfsi); > + cookie, page, NFS_I(page->mapping->host));
This is really the wrong fix. The null dfprintk() should use no_printk().
David
| |