Skip to content

Commit 0ead3b7

Browse files
shinsj4653cmaiolino
authored andcommitted
xfs: fix spacing style issues in xfs_alloc.c
Fix checkpatch.pl errors regarding missing spaces around assignment operators in xfs_alloc_compute_diff() and xfs_alloc_fixup_trees(). Adhere to the Linux kernel coding style by ensuring spaces are placed around the assignment operator '='. Signed-off-by: Shin Seong-jun <shinsj4653@gmail.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
1 parent 7da4ebe commit 0ead3b7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

fs/xfs/libxfs/xfs_alloc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,8 @@ xfs_alloc_compute_diff(
376376
xfs_agblock_t freeend; /* end of freespace extent */
377377
xfs_agblock_t newbno1; /* return block number */
378378
xfs_agblock_t newbno2; /* other new block number */
379-
xfs_extlen_t newlen1=0; /* length with newbno1 */
380-
xfs_extlen_t newlen2=0; /* length with newbno2 */
379+
xfs_extlen_t newlen1 = 0; /* length with newbno1 */
380+
xfs_extlen_t newlen2 = 0; /* length with newbno2 */
381381
xfs_agblock_t wantend; /* end of target extent */
382382
bool userdata = datatype & XFS_ALLOC_USERDATA;
383383

@@ -577,8 +577,8 @@ xfs_alloc_fixup_trees(
577577
int i; /* operation results */
578578
xfs_agblock_t nfbno1; /* first new free startblock */
579579
xfs_agblock_t nfbno2; /* second new free startblock */
580-
xfs_extlen_t nflen1=0; /* first new free length */
581-
xfs_extlen_t nflen2=0; /* second new free length */
580+
xfs_extlen_t nflen1 = 0; /* first new free length */
581+
xfs_extlen_t nflen2 = 0; /* second new free length */
582582
struct xfs_mount *mp;
583583
bool fixup_longest = false;
584584

0 commit comments

Comments
 (0)