Message ID | d50e22690bdea060f485ac1dc19a54fa4d6e4411.1525932796.git.osandov@fb.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index d241285a0d2a..fef8dbb6a93f 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -5106,7 +5106,6 @@ static int btrfs_setsize(struct inode *inode, struct iattr *attr) if (ret) return ret; - /* we don't support swapfiles, so vmtruncate shouldn't fail */ truncate_setsize(inode, newsize); /* Disable nonlocked read DIO to avoid the end less truncate */