Re: ext3-2.4-0.9.4

From: Matti Aarnio (
Date: Mon Jul 30 2001 - 19:21:04 EST

On Thu, Jul 26, 2001 at 03:51:35PM +0000, Linus Torvalds wrote:
> To:
> From: (Linus Torvalds)
> Subject: Re: ext3-2.4-0.9.4
> Date: Thu, 26 Jul 2001 15:51:35 +0000 (UTC)
> Use fsync() on the directory.
> Logical, isn't it?

  No. I don't see why I should opendir() a directory, fsync()
that handle, and closedir() the handle. I would definitely prefer:


This could, even, behave like lstat() with the path: if the last name
segment is symlink, the sync is done on the i-node data of symlink, not
on what it (possibly) points to.

I didn't check if POSIX folks have thought of that.

> Linus

/Matti Aarnio
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:48 EST