Repository navigation
Commit bc07732
hostfs: fix a not needed double check
With the commit 3be2be0 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>1 parent f6161aa commit bc07732
1 file changed
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
| 848 | + | |
855 | 849 | | |
856 | | - | |
857 | 850 | | |
858 | 851 | | |
859 | 852 | | |
| |||
0 commit comments