patch-2.3.40 linux/fs/smbfs/ioctl.c

Next file: linux/fs/super.c
Previous file: linux/fs/proc/generic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.39/linux/fs/smbfs/ioctl.c linux/fs/smbfs/ioctl.c
@@ -28,7 +28,7 @@
 	switch (cmd)
 	{
 	case SMB_IOC_GETMOUNTUID:
-		result = put_user(high2lowuid(server->mnt->mounted_uid), (old_uid_t *) arg);
+		result = put_user(NEW_TO_OLD_UID(server->mnt->mounted_uid), (uid16_t *) arg);
 		break;
 	case SMB_IOC_GETMOUNTUID32:
 		result = put_user(server->mnt->mounted_uid, (uid_t *) arg);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)