Re: [patch 1/2] VFS: new fgetattr() file operation
From: Miklos Szeredi
Date: Mon Sep 24 2007 - 08:49:48 EST
> On Mon, Sep 24, 2007 at 02:24:54PM +0200, Miklos Szeredi wrote:
> > Thanks to everyone for the feedback. Here's two of the VFS patches
> > reworked according to comments. I also plan to rework the setattr()
> > patch accordingly and perhaps the xattr patch, altough that is the
> > lowest priority.
> > Christoph, are these OK with you in this form?
> Not at all. Attribute operations like this have no business at all
> looking at the struct file. Please fix your dreaded filesystem to
> implement proper unix semantics intead,
It's a fixed protocol, with servers installed on millions of servers.
The protocol is called SFTP and the server is part of the OpenSSH
package. There's nothing I can change there.
And even if I could change the protocol, it's impossible to implement
full UNIX semantics with a userspace server. Please think a bit about
> and if that means adding silly rename support so be it.
That's what is done currently.
But it's has various dawbacks, like rmdir doesn't work if there are
open files within an otherwise empty directory.
I'd happily accept suggestions on how to deal with this differenty.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/