VIOC_GETUNIXMODE pioctl should execute smb_IoctlGetUnixMode not
smb_IoctlSetUnixMode.
Change-Id: Ia7dc3e1a82d7d14810f743f50ff7666f13ba8afc
Reviewed-on: http://gerrit.openafs.org/6600
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
smb_ioctlProcsp[VIOC_SETGROUP] = smb_IoctlSetGroup;
smb_ioctlProcsp[VIOCNEWCELL2] = smb_IoctlNewCell2;
smb_ioctlProcsp[VIOC_SETUNIXMODE] = smb_IoctlSetUnixMode;
- smb_ioctlProcsp[VIOC_GETUNIXMODE] = smb_IoctlSetUnixMode;
+ smb_ioctlProcsp[VIOC_GETUNIXMODE] = smb_IoctlGetUnixMode;
}
/* called to make a fid structure into an IOCTL fid structure */