lkml.org 
[lkml]   [2009]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2009-12-02 14:23    [W:0.165 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site