[parisc-linux] Re: mkfs.xfs (xfsprogs-2.3.5) failled
Randolph Chung
Randolph Chung <randolph@tausq.org>
Fri, 25 Oct 2002 08:26:21 -0700
> #define LDD_KERNEL(ptr) __get_kernel_asm("ldd",ptr)
> #define LDD_USER(ptr) __get_user_asm("ldd",ptr)
> @@ -75,7 +75,7 @@
> case 2: __get_kernel_asm("ldh",ptr); break; \
> case 4: __get_kernel_asm("ldw",ptr); break; \
> case 8: LDD_KERNEL(ptr); break; \
> - default: BUG(); break; \
> + default: BUG(); __gu_err=ENOTSUP; break; \
> } \
> } \
this is wrong.
get_user is not defined to return an errno, just whether it's successful
or not.
i'll take a closer look this weekend.
randolph