Skip to content

Commit 243fea4

Browse files
Andreas GruenbacherAstralBob
authored andcommitted
gfs2: Fix some minor typos
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com> Reviewed-by: Steven Whitehouse <swhiteho@redhat.com>
1 parent 281b495 commit 243fea4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fs/gfs2/quota.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ static int print_message(struct gfs2_quota_data *qd, char *type)
11831183
*
11841184
* Returns: 0 on success.
11851185
* min_req = ap->min_target ? ap->min_target : ap->target;
1186-
* quota must allow atleast min_req blks for success and
1186+
* quota must allow at least min_req blks for success and
11871187
* ap->allowed is set to the number of blocks allowed
11881188
*
11891189
* -EDQUOT otherwise, quota violation. ap->allowed is set to number

fs/gfs2/rgrp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2023,7 +2023,7 @@ static inline int fast_to_acquire(struct gfs2_rgrpd *rgd)
20232023
* We try our best to find an rgrp that has at least ap->target blocks
20242024
* available. After a couple of passes (loops == 2), the prospects of finding
20252025
* such an rgrp diminish. At this stage, we return the first rgrp that has
2026-
* atleast ap->min_target blocks available. Either way, we set ap->allowed to
2026+
* at least ap->min_target blocks available. Either way, we set ap->allowed to
20272027
* the number of blocks available in the chosen rgrp.
20282028
*
20292029
* Returns: 0 on success,
@@ -2092,7 +2092,7 @@ int gfs2_inplace_reserve(struct gfs2_inode *ip, struct gfs2_alloc_parms *ap)
20922092
}
20932093
}
20942094

2095-
/* Skip unuseable resource groups */
2095+
/* Skip unusable resource groups */
20962096
if ((rs->rs_rbm.rgd->rd_flags & (GFS2_RGF_NOALLOC |
20972097
GFS2_RDF_ERROR)) ||
20982098
(loops == 0 && ap->target > rs->rs_rbm.rgd->rd_extfail_pt))

0 commit comments

Comments
 (0)