Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Shin Seong-jun and committed by
Carlos Maiolino
0ead3b72 7da4ebea

+4 -4
+4 -4
fs/xfs/libxfs/xfs_alloc.c
··· 376 376 xfs_agblock_t freeend; /* end of freespace extent */ 377 377 xfs_agblock_t newbno1; /* return block number */ 378 378 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 */ 381 381 xfs_agblock_t wantend; /* end of target extent */ 382 382 bool userdata = datatype & XFS_ALLOC_USERDATA; 383 383 ··· 577 577 int i; /* operation results */ 578 578 xfs_agblock_t nfbno1; /* first new free startblock */ 579 579 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 */ 582 582 struct xfs_mount *mp; 583 583 bool fixup_longest = false; 584 584