[lkml]   [2011]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] st_nlink after rmdir() and rename()
Linus Torvalds <> writes:

> On Thu, Mar 3, 2011 at 1:37 PM, OGAWA Hirofumi
> <> wrote:
>> And I can't only see is why you refuse to make consistent behavior (if
>> you are saying it). It's why I said if it's _really easy_.
> The thing is, it really isn't really easy. As mentioned, it's actually
> impossible on NFS, and it's possibly impossible on other filesystems
> too.

I don't know much about NFS though, I imaged the NFS just fill the
stat.st_nlink to return to userland by 0 if sillyrenamed dentry? (of
course, I'm not saying let's emulate "i_nlink >= 1" on all
filesystems. just about i_nlink == 0) I was thinking Al is working for

And yeah, if it doesn't have consistency on system, I would agree it
would not be meaningful.

OGAWA Hirofumi <>

 \ /
  Last update: 2011-03-03 23:29    [W:0.095 / U:32.544 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site