diff options
Diffstat (limited to 'fs/fuse/dir.c')
-rw-r--r-- | fs/fuse/dir.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index 537d38bee13c..052327bd6c9d 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c | |||
@@ -1083,6 +1083,9 @@ static int fuse_do_setattr(struct dentry *entry, struct iattr *attr, | |||
1083 | return err; | 1083 | return err; |
1084 | } | 1084 | } |
1085 | 1085 | ||
1086 | if ((attr->ia_valid & ATTR_OPEN) && fc->atomic_o_trunc) | ||
1087 | return 0; | ||
1088 | |||
1086 | if (attr->ia_valid & ATTR_SIZE) { | 1089 | if (attr->ia_valid & ATTR_SIZE) { |
1087 | unsigned long limit; | 1090 | unsigned long limit; |
1088 | if (IS_SWAPFILE(inode)) | 1091 | if (IS_SWAPFILE(inode)) |