[Libsysio-commit] HEAD: libsysio/drivers/native fs_native.c
Brought to you by:
lward
From: Ruth K. <rk...@us...> - 2008-10-15 22:01:09
|
Update of /cvsroot/libsysio/libsysio/drivers/native In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25646/drivers/native Modified Files: fs_native.c Log Message: Removing obsolete code related to cplant yod, lustre hack, and sockets driver. Index: fs_native.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/drivers/native/fs_native.c,v retrieving revision 1.67 retrieving revision 1.68 diff -u -w -b -B -p -r1.67 -r1.68 --- fs_native.c 11 Jul 2008 18:23:57 -0000 1.67 +++ fs_native.c 15 Oct 2008 22:01:01 -0000 1.68 @@ -1740,34 +1740,6 @@ native_inop_datasync(struct pnode *pno) return err; } -#ifdef HAVE_LUSTRE_HACK -static int -native_inop_ioctl(struct pnode *pno, - unsigned long int request, - va_list ap) -{ - struct inode *ino; - struct native_inode *nino; - long arg1, arg2, arg3, arg4; - int rtn; - - ino = pno->p_base->pb_ino; - assert(ino); - nino = I2NI(ino); - assert(nino->ni_fd >= 0); - arg1 = va_arg(ap, long); - arg2 = va_arg(ap, long); - arg3 = va_arg(ap, long); - arg4 = va_arg(ap, long); - - rtn = - syscall(SYSIO_SYS_ioctl, I2NI(ino)->ni_fd, request, - arg1, arg2, arg3, arg4); - if (rtn < 0) - rtn = -errno; - return rtn; -} -#else static int native_inop_ioctl(struct pnode *pno __IS_UNUSED, unsigned long int request __IS_UNUSED, @@ -1779,7 +1751,6 @@ native_inop_ioctl(struct pnode *pno __IS */ return -ENOTTY; } -#endif static void native_inop_gone(struct inode *ino) |