lkml.org 
[lkml]   [2012]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 6/9] fuse: Push file_update_time() into fuse_page_mkwrite()
Date
Jan Kara <jack@suse.cz> writes:

> CC: Miklos Szeredi <miklos@szeredi.hu>
> CC: fuse-devel@lists.sourceforge.net
> Signed-off-by: Jan Kara <jack@suse.cz>
> ---
> 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.

Thanks,
Miklos


\
 
 \ /
  Last update: 2012-03-01 20:33    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site