Ticket #3928 (new defect) — at Initial Version
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
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?
Note: See
TracTickets for help on using
tickets.
