VFS: Add a %p modifier 'q' to printk for handling struct qstr *

Add a %p modifier 'q' to printk so that it can print the name held in struct
qstr pointed to by its argument:

	void foo(struct dentry *d)
	{
		printk("dentry: %pq\n", &d->d_name);
	}

printk() then knows how to find the length of the name in case the name is not
NUL-terminated.

Signed-off-by: David Howells <dhowells@redhat.com>
6 files changed