From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kara Subject: Re: [PATCH 6/9] fuse: Push file_update_time() into fuse_page_mkwrite() Date: Thu, 1 Mar 2012 21:36:58 +0100 Message-ID: <20120301203658.GC13104@quack.suse.cz> References: <1330602103-8851-1-git-send-email-jack@suse.cz> <1330602103-8851-7-git-send-email-jack@suse.cz> <87obsgce4a.fsf@tucsk.pomaz.szeredi.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Kara , Andrew Morton , linux-mm@kvack.org, LKML , Al Viro , linux-fsdevel@vger.kernel.org, dchinner@redhat.com, fuse-devel@lists.sourceforge.net To: Miklos Szeredi Return-path: Content-Disposition: inline In-Reply-To: <87obsgce4a.fsf@tucsk.pomaz.szeredi.hu> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Thu 01-03-12 20:31:17, Miklos Szeredi wrote: > Jan Kara writes: > > > CC: Miklos Szeredi > > CC: fuse-devel@lists.sourceforge.net > > Signed-off-by: Jan Kara > > --- > > fs/fuse/file.c | 1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > diff --git a/fs/fuse/file.c b/fs/fuse/file.c > > index 4a199fd..eade72e 100644 > > --- a/fs/fuse/file.c > > +++ b/fs/fuse/file.c > > @@ -1323,6 +1323,7 @@ static int fuse_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) > > */ > > struct inode *inode = vma->vm_file->f_mapping->host; > > > > + file_update_time(vma->vm_file); > > Fuse sets S_CMTIME in inode flags, so this is a no-op. IOW the patch is > not needed. I see. Thanks. Patch dropped. Honza -- Jan Kara SUSE Labs, CR -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org