No. I don't see why I should opendir() a directory, fsync()
that handle, and closedir() the handle. I would definitely prefer:
lsync(dirpath)
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 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/