patch-2.3.40 linux/fs/nfsd/export.c
Next file: linux/fs/nfsd/nfsctl.c
Previous file: linux/fs/nfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Thu Jan 20 10:48:35 2000
- Orig file:
v2.3.39/linux/fs/nfsd/export.c
- Orig date:
Tue Dec 14 01:27:24 1999
diff -u --recursive --new-file v2.3.39/linux/fs/nfsd/export.c linux/fs/nfsd/export.c
@@ -221,7 +221,7 @@
dprintk("exp_export called for %s:%s (%x/%ld fl %x).\n",
nxp->ex_client, nxp->ex_path,
- nxp->ex_dev, nxp->ex_ino, nxp->ex_flags);
+ nxp->ex_dev, (long) nxp->ex_ino, nxp->ex_flags);
dev = to_kdev_t(nxp->ex_dev);
ino = nxp->ex_ino;
@@ -453,11 +453,11 @@
ino = dentry->d_inode->i_ino;
dprintk("nfsd: exp_rootfh(%s [%p] %s:%x/%ld)\n",
- path, dentry, clp->cl_ident, dev, ino);
+ path, dentry, clp->cl_ident, dev, (long) ino);
exp = exp_parent(clp, dev, dentry);
} else {
dprintk("nfsd: exp_rootfh(%s:%x/%ld)\n",
- clp->cl_ident, dev, ino);
+ clp->cl_ident, dev, (long) ino);
if ((exp = exp_get(clp, dev, ino)))
if (!(dentry = dget(exp->ex_dentry))) {
printk("exp_rootfh: Aieee, NULL dentry\n");
@@ -478,7 +478,7 @@
printk("exp_rootfh: Aieee, ino/dev mismatch\n");
printk("exp_rootfh: arg[dev(%x):ino(%ld)]"
" inode[dev(%x):ino(%ld)]\n",
- dev, ino, inode->i_dev, inode->i_ino);
+ dev, (long) ino, inode->i_dev, (long) inode->i_ino);
}
/*
@@ -667,7 +667,7 @@
if (first++) len += sprintf(buffer+len, "%s", " ");
if (tmp->h_client != clp)
len += sprintf(buffer+len, "(");
- len += sprintf(buffer+len, "%ld.%ld.%ld.%ld",
+ len += sprintf(buffer+len, "%d.%d.%d.%d",
htonl(addr.s_addr) >> 24 & 0xff,
htonl(addr.s_addr) >> 16 & 0xff,
htonl(addr.s_addr) >> 8 & 0xff,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)