|
@@ -356,7 +356,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, struct iattr *iap,
|
|
|
put_write_access(inode);
|
|
|
goto out_nfserr;
|
|
|
}
|
|
|
- DQUOT_INIT(inode);
|
|
|
+ vfs_dq_init(inode);
|
|
|
}
|
|
|
|
|
|
/* sanitize the mode change */
|
|
@@ -723,7 +723,7 @@ nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, int type,
|
|
|
else
|
|
|
flags = O_WRONLY|O_LARGEFILE;
|
|
|
|
|
|
- DQUOT_INIT(inode);
|
|
|
+ vfs_dq_init(inode);
|
|
|
}
|
|
|
*filp = dentry_open(dget(dentry), mntget(fhp->fh_export->ex_path.mnt),
|
|
|
flags, cred);
|