patch-2.1.45 linux/fs/nfsd/export.c
Next file: linux/fs/nfsd/vfs.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jul 16 19:22:51 1997
- Orig file:
v2.1.44/linux/fs/nfsd/export.c
- Orig date:
Mon Jun 16 16:35:58 1997
diff -u --recursive --new-file v2.1.44/linux/fs/nfsd/export.c linux/fs/nfsd/export.c
@@ -331,7 +331,7 @@
if (!(exp = exp_get(clp, dev, ino)))
return -EPERM;
- atomic_inc(&exp->ex_inode->i_count);
+ exp->ex_inode->i_count++;
fh_compose(&fh, exp, exp->ex_inode);
memcpy(f, &fh.fh_handle, sizeof(struct knfs_fh));
fh_put(&fh);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov