Re: [PATCH] 2.4.8-pre3 fsync entire path (+reiserfs fsync semantic

Alexander Viro (viro@math.psu.edu)
Fri, 3 Aug 2001 19:25:19 -0400 (EDT)


On Sat, 4 Aug 2001, Chris Wedgwood wrote:

> On Fri, Aug 03, 2001 at 07:15:59PM -0400, Alexander Viro wrote:
>
> <shrug> credentials cache. 2.5 fodder. Notice that with NFS you
> don't have fsync for directories. At all. So that's not a problem
> in that particular case - you can pass NULL on all subsequent
> iterations. On the first step you need struct file * - NFS needs
> credentials to pass to the server.
>
> How about passing NULL then for now? --- and explicitly requiring
> ->fsync accept NULL for the first argument and ignore it? It would be
> nice to know that this is the case then though, because we could stop
> immediately.

You need credentials to sync a regular file on any network filesystem.

-
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/