Skip to content

Commit

Permalink
udf: Standardize return values in mount sequence
Browse files Browse the repository at this point in the history
Change all function used in filesystem discovery during mount to user
standard kernel return values - -errno on error, 0 on success instead
of 1 on failure and 0 on success. This allows us to pass error number
(not just failure / success) so we can abort device scanning earlier
in case of errors like EIO or ENOMEM . Also we will be able to return
EROFS in case writeable mount is requested but writing isn't supported.

Signed-off-by: Jan Kara <[email protected]>
  • Loading branch information
jankara committed Jul 31, 2013
1 parent 17b7f7c commit d759bfa
Showing 1 changed file with 183 additions and 117 deletions.
Loading

0 comments on commit d759bfa

Please sign in to comment.