patch-2.1.118 linux/fs/nfs/nfs2xdr.c

Next file: linux/fs/nfs/write.c
Previous file: linux/fs/nfs/mount_clnt.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.117/linux/fs/nfs/nfs2xdr.c linux/fs/nfs/nfs2xdr.c
@@ -5,9 +5,6 @@
  *
  * Copyright (C) 1992, 1993, 1994  Rick Sladkey
  * Copyright (C) 1996 Olaf Kirch
- *
- * 04 Aug 1998  Ion Badulescu <ionut@cs.columbia.edu>     
- *	        FIFO's need special handling in NFSv2
  */
 
 #define NFS_NEED_XDR_TYPES
@@ -117,11 +114,6 @@
 	fattr->mtime.useconds = ntohl(*p++);
 	fattr->ctime.seconds = ntohl(*p++);
 	fattr->ctime.useconds = ntohl(*p++);
-	if (fattr->type == NFCHR && fattr->rdev == NFS_FIFO_DEV) {
-		fattr->type = NFFIFO;
-		fattr->mode = (fattr->mode & ~S_IFMT) | S_IFIFO;
-		fattr->rdev = 0;
-	}
 	return p;
 }
 

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