| Date | Wed, 2 Dec 2009 14:20:48 +0100 | From | Andi Kleen <> | Subject | Re: [PATCH 24/24] HWPOISON: show corrupted file info |
| |
> + dentry = d_find_alias(inode); > + > + if (dentry) { > + spin_lock(&dentry->d_lock); > + name = dentry->d_name.name; > + }
The standard way to do that is d_path() But the paths are somewhat meaningless without the root.
Better to not print path names for now.
And pgoff should be just a byte offset with a range
I'll skip this one for now.
-Andi
|