[PATCH] mount.cifs: make return codes match the return codes
for /bin/mount
Steve French
smfrench at gmail.com
Wed Oct 8 16:20:08 GMT 2008
I would like to compare with what the mount util itself does.
On Wed, Oct 8, 2008 at 11:14 AM, Jeff Moyer <jmoyer at redhat.com> wrote:
> 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
>
--
Thanks,
Steve
More information about the samba-technical
mailing list