super.c (fad837c16cdd856c68ce2e1335ad0fe836ed8ecd) | super.c (7a65004bbaa6a21a0438aac9c64814e46084dc3f) |
---|---|
1/* 2 * super.c - NILFS module and super block management. 3 * 4 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 422 unchanged lines hidden (view full) --- 431 */ 432 blocks = nilfs->ns_blocks_per_segment * nilfs->ns_nsegments 433 - nilfs->ns_first_data_block; 434 nrsvblocks = nilfs->ns_nrsvsegs * nilfs->ns_blocks_per_segment; 435 436 /* 437 * Compute the overhead 438 * | 1/* 2 * super.c - NILFS module and super block management. 3 * 4 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 422 unchanged lines hidden (view full) --- 431 */ 432 blocks = nilfs->ns_blocks_per_segment * nilfs->ns_nsegments 433 - nilfs->ns_first_data_block; 434 nrsvblocks = nilfs->ns_nrsvsegs * nilfs->ns_blocks_per_segment; 435 436 /* 437 * Compute the overhead 438 * |
439 * When distributing meta data blocks outside semgent structure, | 439 * When distributing meta data blocks outside segment structure, |
440 * We must count them as the overhead. 441 */ 442 overhead = 0; 443 444 err = nilfs_count_free_blocks(nilfs, &nfreeblocks); 445 if (unlikely(err)) 446 return err; 447 --- 746 unchanged lines hidden --- | 440 * We must count them as the overhead. 441 */ 442 overhead = 0; 443 444 err = nilfs_count_free_blocks(nilfs, &nfreeblocks); 445 if (unlikely(err)) 446 return err; 447 --- 746 unchanged lines hidden --- |