lkml.org 
[lkml]   [2005]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/8] VFS: per inode statfs (core)
From
Date
> > This patch adds a statfs method to inode operations.  This is invoked
> > whenever the dentry is available (not called from sys_ustat()) and the
> > filesystem implements this method. Otherwise the normal
> > s_op->statfs() will be called.
> >
> > This change is backward compatible, but calls to vfs_statfs() should
> > be changed to vfs_dentry_statfs() whenever possible.
>
> What the fuck for? statfs() returns data that by definition should
> not depend on inode within a filesystem.

Exactly. But it's specified nowhere that there has to be a one-one
mapping between remote filesystem - local filesystem.

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: 2005-10-25 07:47    [W:0.089 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site