The patch titled fuse: clear attribute cache for open(O_TRUNC) has been removed from the -mm tree. Its filename was fuse-clear-attribute-cache-for-openo_trunc.patch This patch was dropped because an updated version will be merged The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: fuse: clear attribute cache for open(O_TRUNC) From: Ken Sumrall <ksumrall@xxxxxxxxxxx> The attribute cache for a file was not being cleared when a file is opened with O_TRUNC. Signed-off-by: Ken Sumrall <ksumrall@xxxxxxxxxxx> Cc: Miklos Szeredi <miklos@xxxxxxxxxx> Cc: Anfei <anfei.zhou@xxxxxxxxx> Cc: "Anand V. Avati" <avati@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/fuse/file.c | 3 +++ 1 file changed, 3 insertions(+) diff -puN fs/fuse/file.c~fuse-clear-attribute-cache-for-openo_trunc fs/fuse/file.c --- a/fs/fuse/file.c~fuse-clear-attribute-cache-for-openo_trunc +++ a/fs/fuse/file.c @@ -134,6 +134,7 @@ EXPORT_SYMBOL_GPL(fuse_do_open); void fuse_finish_open(struct inode *inode, struct file *file) { struct fuse_file *ff = file->private_data; + struct fuse_conn *fc = get_fuse_conn(inode); if (ff->open_flags & FOPEN_DIRECT_IO) file->f_op = &fuse_direct_io_file_operations; @@ -141,6 +142,8 @@ void fuse_finish_open(struct inode *inod invalidate_inode_pages2(inode->i_mapping); if (ff->open_flags & FOPEN_NONSEEKABLE) nonseekable_open(inode, file); + if (fc->atomic_o_trunc && (file->f_flags & O_TRUNC)) + fuse_invalidate_attr(inode); } int fuse_open_common(struct inode *inode, struct file *file, bool isdir) _ Patches currently in -mm which might be from ksumrall@xxxxxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html