diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 6d1b93c8aafb8a4d7b832cab8585ebf1ac1ced42..0fd7647c893249f24580b934e891b601a40b193e 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -4391,9 +4391,6 @@ static int btrfs_setsize(struct inode *inode, struct iattr *attr) int mask = attr->ia_valid; int ret; - if (newsize == oldsize) - return 0; - /* * The regular truncate() case without ATTR_CTIME and ATTR_MTIME is a * special case where we need to update the times despite not having