# Re: \[PATCH\] hostfs: fix a not needed double check

- From: Marco Stornelli \<hidden\>
- Date: 2012-11-24 09:15:35 
- List: linux-um
- Page: https://ratatoskr.run/linux-um/2012/11/69175
- Thread: https://ratatoskr.run/linux-fsdevel/2012/10/67947/t.md

```text
Il 24/11/2012 10:12, Richard Weinberger ha scritto:
> Am Sat, 24 Nov 2012 10:02:32 +0100
> schrieb Marco Stornelli [ref]:
>
>> Il 18/11/2012 09:59, Marco Stornelli ha scritto:
>>> Il 20/10/2012 12:02, Marco Stornelli ha scritto:
>>>> 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 <redacted>
>>
>> I didn't receive any feedback from Weinberger, could you consider
>> this patch for next -rc?
>
> Whoops. Sorry. -ENOMAL.
>
> I can carry this patch through uml.git
>
> Thanks,
> //richard
>

No problem, thanks :)

Marco
```
