aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/inode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 6d1b93c8aafb..0fd7647c8932 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)
4391 int mask = attr->ia_valid; 4391 int mask = attr->ia_valid;
4392 int ret; 4392 int ret;
4393 4393
4394 if (newsize == oldsize)
4395 return 0;
4396
4397 /* 4394 /*
4398 * The regular truncate() case without ATTR_CTIME and ATTR_MTIME is a 4395 * The regular truncate() case without ATTR_CTIME and ATTR_MTIME is a
4399 * special case where we need to update the times despite not having 4396 * special case where we need to update the times despite not having