diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fuse/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 8d611696fcad..299e553fcdfd 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c | |||
@@ -303,7 +303,7 @@ struct inode *fuse_iget(struct super_block *sb, u64 nodeid, | |||
303 | 303 | ||
304 | if ((inode->i_state & I_NEW)) { | 304 | if ((inode->i_state & I_NEW)) { |
305 | inode->i_flags |= S_NOATIME; | 305 | inode->i_flags |= S_NOATIME; |
306 | if (!fc->writeback_cache || !S_ISREG(inode->i_mode)) | 306 | if (!fc->writeback_cache || !S_ISREG(attr->mode)) |
307 | inode->i_flags |= S_NOCMTIME; | 307 | inode->i_flags |= S_NOCMTIME; |
308 | inode->i_generation = generation; | 308 | inode->i_generation = generation; |
309 | inode->i_data.backing_dev_info = &fc->bdi; | 309 | inode->i_data.backing_dev_info = &fc->bdi; |