]> git.baikalelectronics.ru Git - kernel.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)
commit604e44f896101cc6f68e364535490417616d224e
treedefc2beee29ff4320d5af6000b29b6056b3dd741
parent1d627f8ebb8f17386e39f8027c369ddadbf55bc3
hostfs: fix a not needed double check

With the commit 56b74318c5c33788a666d35cc275b446ab5c5b1f 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