瀏覽代碼

nfsd: Use lowercase names of quota functions

Use lowercase names of quota functions instead of old uppercase ones.

CC: bfields@fieldses.org
CC: neilb@suse.de
Signed-off-by: Jan Kara <jack@suse.cz>
Jan Kara 16 年之前
父節點
當前提交
90c0af05a5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fs/nfsd/vfs.c

+ 2 - 2
fs/nfsd/vfs.c

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