Skip to content
Commit bc077320 authored by Marco Stornelli's avatar Marco Stornelli Committed by Richard Weinberger
Browse files

hostfs: fix a not needed double check



With the commit 3be2be0a we removed vmtruncate,
but actaully there is no need to call inode_newsize_ok() because the checks are
already done in inode_change_ok() at the begin of the function.

Signed-off-by: default avatarMarco Stornelli <marco.stornelli@gmail.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent f6161aa1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment