]> 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)
commit1d985f7692bcd4f9d5060b0b50302f4994fa04bc
treedefc2beee29ff4320d5af6000b29b6056b3dd741
parent025d7a061973fce562117d8afddd51b81bc911f1
hostfs: fix a not needed double check

With the commit 74742cac8858ed82cdde3cdf80d50f9145e946ad 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