3 #ifndef _LINUX_NFSD_FH_INT_H
4 #define _LINUX_NFSD_FH_INT_H
6 #include <linux/nfsd/nfsfh.h>
38 fsidv[1] = ino_t_to_u32(ino);
46 fsidv[2] = ino_t_to_u32(ino);
50 fsidv[0] = new_encode_dev(dev);
51 fsidv[1] = ino_t_to_u32(ino);
57 fsidv[0] = ino_t_to_u32(ino);
58 fsidv[1] = up[0] ^ up[1] ^ up[2] ^ up[3];
64 fsidv[0] = up[0] ^ up[2];
65 fsidv[1] = up[1] ^ up[3];
127 fh_init(
struct svc_fh *fhp,
int maxsize)
129 memset(fhp, 0,
sizeof(*fhp));
134 #ifdef CONFIG_NFSD_V3
144 if (!fhp->fh_pre_saved) {
145 fhp->fh_pre_mtime = inode->
i_mtime;
146 fhp->fh_pre_ctime = inode->
i_ctime;
147 fhp->fh_pre_size = inode->
i_size;
149 fhp->fh_pre_saved = 1;
155 #define fill_pre_wcc(ignored)
156 #define fill_post_wcc(notused)
188 fh_lock(
struct svc_fh *fhp)
197 fh_unlock(
struct svc_fh *fhp)