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

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

diff -u --recursive --new-file v2.1.3/linux/fs/smbfs/ioctl.c linux/fs/smbfs/ioctl.c
@@ -25,7 +25,7 @@
                                           sizeof(uid_t))) != 0) {
                         return result;
                 }
-                put_fs_word(SMB_SERVER(inode)->m.mounted_uid, (uid_t*) arg);
+                put_user(SMB_SERVER(inode)->m.mounted_uid, (uid_t*) arg);
                 return 0;
         default:
 		return -EINVAL;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov