patch-2.2.19 linux/include/linux/nfsd/xdr3.h

Next file: linux/include/linux/nls.h
Previous file: linux/include/linux/nfsd/nfsfh.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/include/linux/nfsd/xdr3.h linux/include/linux/nfsd/xdr3.h
@@ -296,19 +296,5 @@
 int nfs3svc_encode_entry_plus(struct readdir_cd *, const char *name,
 				int namlen, off_t offset, ino_t ino);
 
-#ifdef __KERNEL__
-
-/*
- * This is needed in nfs_readdir for encoding NFS3 directory cookies.
- */
-static inline u32 *
-enc64(u32 *p, u64 val)
-{
-	*p++ = htonl(val >> 32);
-	*p++ = htonl(val & 0xffffffff);
-	return p;
-}
-
-#endif /* __KERNEL__ */
 
 #endif /* _LINUX_NFSD_XDR3_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)