patch-2.4.0-test7 linux/fs/nfsd/nfs3xdr.c
Next file: linux/fs/nfsd/nfsfh.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Fri Aug 11 14:29:02 2000
- Orig file:
v2.4.0-test6/linux/fs/nfsd/nfs3xdr.c
- Orig date:
Fri Jun 23 21:55:10 2000
diff -u --recursive --new-file v2.4.0-test6/linux/fs/nfsd/nfs3xdr.c linux/fs/nfsd/nfs3xdr.c
@@ -669,7 +669,7 @@
#define NFS3_ENTRYPLUS_BAGGAGE (1 + 21 + 1 + (NFS3_FHSIZE >> 2))
static int
encode_entry(struct readdir_cd *cd, const char *name,
- int namlen, off_t offset, ino_t ino, int plus)
+ int namlen, off_t offset, ino_t ino, unsigned int d_type, int plus)
{
u32 *p = cd->buffer;
int buflen, slen, elen;
@@ -747,16 +747,16 @@
int
nfs3svc_encode_entry(struct readdir_cd *cd, const char *name,
- int namlen, off_t offset, ino_t ino)
+ int namlen, off_t offset, ino_t ino, unsigned int d_type)
{
- return encode_entry(cd, name, namlen, offset, ino, 0);
+ return encode_entry(cd, name, namlen, offset, ino, d_type, 0);
}
int
nfs3svc_encode_entry_plus(struct readdir_cd *cd, const char *name,
- int namlen, off_t offset, ino_t ino)
+ int namlen, off_t offset, ino_t ino, unsigned int d_type)
{
- return encode_entry(cd, name, namlen, offset, ino, 1);
+ return encode_entry(cd, name, namlen, offset, ino, d_type, 1);
}
/* FSSTAT */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)