patch-2.3.99-pre2 linux/include/linux/nfsd/nfsd.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/netfilter_ipv4.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre1/linux/include/linux/nfsd/nfsd.h linux/include/linux/nfsd/nfsd.h
@@ -172,6 +172,9 @@
 #define	nfserr_badtype		__constant_htonl(NFSERR_BADTYPE)
 #define	nfserr_jukebox		__constant_htonl(NFSERR_JUKEBOX)
 
+/* Check for dir entries '.' and '..' */
+#define isdotent(n, l)	(l < 3 && n[0] == '.' && (l == 1 || n[1] == '.'))
+
 /*
  * Time of server startup
  */

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