]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hostfs: fix a not needed double check
authorMarco Stornelli <marco.stornelli@gmail.com>
Sat, 20 Oct 2012 10:02:59 +0000 (12:02 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 11 Mar 2013 09:08:02 +0000 (10:08 +0100)
commitbc077320f8f6449197f4010d6774afab7bb998b2
treedefc2beee29ff4320d5af6000b29b6056b3dd741
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9
hostfs: fix a not needed double check

With the commit 3be2be0a32c18b0fd6d623cda63174a332ca0de1 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: Marco Stornelli <marco.stornelli@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/hostfs/hostfs_kern.c