]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/gfs2/quota.c
quota: unify ->set_dqblk
[net-next-2.6.git] / fs / gfs2 / quota.c
index dec93577a7839cecbe166313692799aecdafaa6a..49667d68769ef8fe5a82920a79f1a37df216804b 100644 (file)
@@ -1521,8 +1521,8 @@ out:
 /* GFS2 only supports a subset of the XFS fields */
 #define GFS2_FIELDMASK (FS_DQ_BSOFT|FS_DQ_BHARD)
 
-static int gfs2_xquota_set(struct super_block *sb, int type, qid_t id,
-                          struct fs_disk_quota *fdq)
+static int gfs2_set_dqblk(struct super_block *sb, int type, qid_t id,
+                         struct fs_disk_quota *fdq)
 {
        struct gfs2_sbd *sdp = sb->s_fs_info;
        struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode);
@@ -1630,6 +1630,6 @@ const struct quotactl_ops gfs2_quotactl_ops = {
        .quota_sync     = gfs2_quota_sync,
        .get_xstate     = gfs2_quota_get_xstate,
        .get_dqblk      = gfs2_get_dqblk,
-       .set_xquota     = gfs2_xquota_set,
+       .set_dqblk      = gfs2_set_dqblk,
 };