summaryrefslogtreecommitdiff
path: root/fs/udf/inode.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-07-25 19:10:59 +0200
committerJan Kara <jack@suse.cz>2013-07-31 22:14:50 +0200
commitd759bfa4e7919b89357de50a2e23817079889195 (patch)
tree77704442d642f3bef53ff230050e31271bc86cad /fs/udf/inode.c
parent17b7f7cf58926844e1dd40f5eb5348d481deca6a (diff)
udf: Standardize return values in mount sequence
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 <jack@suse.cz>
Diffstat (limited to 'fs/udf/inode.c')
0 files changed, 0 insertions, 0 deletions