Ticket #3928 (closed defect: wontfix)
vfs_preallocate return 0 if fallocate not supported
Reported by: | gray_-_wolf | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | mc-vfs | Version: | master |
Keywords: | Cc: | wolf+mc@… | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description (last modified by andrew_b) (diff)
In lib/vfs/vfs.c int vfs_preallocate claims to return 0 on success and non-zero otherwise, therefore it should not 0 when fallocate is not even supported (that is hardly success...). Shouldn't it be -1?
Change History
comment:2 Changed 6 years ago by andrew_b
- Component changed from mc-core to mc-vfs
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.