Commit 350667d7 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] 32-bit dev_t fallout: mips/kernel/sysirix.c

	Fix for typo in arch/mips/kernel/sysirix.c (spotted by Milton Miller)
parent 07c9e4a4
...@@ -1274,7 +1274,7 @@ static int irix_xstat64_xlate(struct kstat *stat, void *ubuf) ...@@ -1274,7 +1274,7 @@ static int irix_xstat64_xlate(struct kstat *stat, void *ubuf)
ks.st_pad4[4] = ks.st_pad4[5] = ks.st_pad4[6] = ks.st_pad4[7] = 0; ks.st_pad4[4] = ks.st_pad4[5] = ks.st_pad4[6] = ks.st_pad4[7] = 0;
/* Now write it all back. */ /* Now write it all back. */
return copy_to_user(ubuf, &ub, sizeof(ub)) ? -EFAULT : 0; return copy_to_user(ubuf, &ks, sizeof(ks)) ? -EFAULT : 0;
} }
asmlinkage int irix_xstat(int version, char *filename, struct stat *statbuf) asmlinkage int irix_xstat(int version, char *filename, struct stat *statbuf)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment