lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <467A95F5.6050300@bull.net>
Date:	Thu, 21 Jun 2007 17:15:01 +0200
From:	Valerie Clement <valerie.clement@...l.net>
To:	Theodore Tso <tytso@....edu>,
	ext4 development <linux-ext4@...r.kernel.org>
Subject: [RFC][PATCH 2/11][take 2] add new macro EXT2_DESC_PER_BLOCK in e2fsprogs

This patch introduces a new macro EXT2_DESC_PER_BLOCK to calculate the 
number of group descriptors per block as two different structures are 
defined.

Change from previous version:
use s_desc_size instead of sizeof(struct ext4_group_desc)

  lib/ext2fs/closefs.c    |    2 +-
  lib/ext2fs/ext2_fs.h    |    4 +++-
  lib/ext2fs/initialize.c |    2 +-
  lib/ext2fs/openfs.c     |    4 ++--
  misc/mke2fs.c           |    5 ++---
  resize/resize2fs.c      |    7 +++----
  6 files changed, 12 insertions(+), 12 deletions(-)


View attachment "02-add-new-macro-to-get-nb-desc-per-block" of type "text/plain" (5555 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ