[PATCH] mount.cifs: make return codes match the return codes for /bin/mount

Jeff Moyer jmoyer at redhat.com
Wed Oct 8 16:14:38 GMT 2008


Jeff Layton <jlayton at redhat.com> writes:

> The manpage for /bin/mount specifies that the return code should be a
> positive integer (actually, it's a bitfield). Clean up the return
> codes from mount.cifs to make them match the expected return values
> from /bin/mount. This necessary for proper integration with autofs.

Thanks, Jeff.  I think it might be cleaner to make #define's for the
exit codes, but I'll leave that up to you guys.

Cheers,

Jeff


More information about the samba-technical mailing list