Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S940902AbXHIPmV (ORCPT ); Thu, 9 Aug 2007 11:42:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S938808AbXHIPmJ (ORCPT ); Thu, 9 Aug 2007 11:42:09 -0400 Received: from mail-gw2.sa.eol.hu ([212.108.200.109]:56189 "EHLO mail-gw2.sa.eol.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S939020AbXHIPmI (ORCPT ); Thu, 9 Aug 2007 11:42:08 -0400 To: bfields@fieldses.org CC: miklos@szeredi.hu, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, viro@ftp.linux.org.uk, hch@infradead.org In-reply-to: <20070809153556.GB25475@fieldses.org> (bfields@fieldses.org) Subject: Re: [RFC PATCH 1/4] pass open file to ->setattr() References: <20070809152744.519270818@szeredi.hu> <20070809152859.787064024@szeredi.hu> <20070809153556.GB25475@fieldses.org> Message-Id: From: Miklos Szeredi Date: Thu, 09 Aug 2007 17:41:43 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 528 Lines: 14 > > This is needed to be able to correctly implement open-unlink-fsetattr > > semantics in some filesystem such as sshfs, without having to resort > > to "silly-renaming". > > How do you plan to do that? Easy: the SFTP protocol has stateful opens and defines an FSTAT call. 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/