[Libsysio-commit] b_lustre: libsysio/drivers/sockets sockets.c
Brought to you by:
lward
|
From: Mei <me...@us...> - 2003-11-01 03:38:30
|
Update of /cvsroot/libsysio/libsysio/drivers/sockets
In directory sc8-pr-cvs1:/tmp/cvs-serv31910/drivers/sockets
Modified Files:
Tag: b_lustre
sockets.c
Log Message:
use the common code of fcntl(), need some cleanup later.
Index: sockets.c
===================================================================
RCS file: /cvsroot/libsysio/libsysio/drivers/sockets/Attic/sockets.c,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -w -b -B -p -r1.1.2.2 -r1.1.2.3
--- sockets.c 1 Nov 2003 03:08:21 -0000 1.1.2.2
+++ sockets.c 1 Nov 2003 03:38:27 -0000 1.1.2.3
@@ -239,10 +239,9 @@ sockets_inop_fcntl(struct inode *ino __I
int cmd __IS_UNUSED,
va_list ap __IS_UNUSED)
{
- /*
- * I'm lazy. Maybe implemented later.
- */
- return -ENOTTY;
+ assert(I2SKI(ino)->ski_fd >= 0);
+
+ return _sysio_fcntl_common(I2SKI(ino)->ski_fd, cmd, ap);
}
static int
|