Re: [PATCH][10/28] e2fsprogs-uninit.patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What is the intended use of the SF_DO_CSUM flag?  I see where it is
defined, and where it gets sets, but as far as I can tell nothing
actually tests for it or uses it.

	 				- Ted


On Sat, Feb 02, 2008 at 01:34:44AM -0700, Andreas Dilger wrote:
> Index: e2fsprogs-1.40.5/lib/ext2fs/ext2fs.h
>
> +#define EXT2_SF_DO_CSUM		0x0020
>

> Index: e2fsprogs-1.40.5/lib/ext2fs/inode.c
> ===================================================================
> --- e2fsprogs-1.40.5.orig/lib/ext2fs/inode.c
> +++ e2fsprogs-1.40.5/lib/ext2fs/inode.c
> @@ -167,6 +167,9 @@ errcode_t ext2fs_open_inode_scan(ext2_fi
>  	if (EXT2_HAS_COMPAT_FEATURE(fs->super, 
>  				    EXT2_FEATURE_COMPAT_LAZY_BG))
>  		scan->scan_flags |= EXT2_SF_DO_LAZY;
> +	if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super,
> +				       EXT4_FEATURE_RO_COMPAT_GDT_CSUM))
> +		scan->scan_flags |= EXT2_SF_DO_LAZY | EXT2_SF_DO_CSUM;

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux