Re: [PATCH] NFS: Don't use debug-printk-only local variables

From: David Howells
Date: Thu Sep 26 2013 - 08:39:25 EST


Olof Johansson <olof@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/