lkml.org 
[lkml]   [2010]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/2] vfs: sanitize __d_path()
From
Date
On Thu, 27 May 2010, Alexey Dobriyan wrote:
> On Thu, May 27, 2010 at 1:29 PM, Miklos Szeredi <miklos@szeredi.hu> wrote:
> > From: Miklos Szeredi <mszeredi@suse.cz>
> >
> > __d_path() no longer appends " (deleted)" to unlinked paths.  This is
> > moved into d_path() which is the only caller that cares.
>
> d_path() or equivalent should get "int *deleted" argument to distinguish
> really deleted files. Then users can decide if they care or not.

Why can't they distinguish deleted files by just calling d_unlinked()?

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-05-27 14:51    [W:0.074 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site