Re: [PATCH] btrfs-progs: Corruption-framework: Include inode nlink field

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

 



On Tue, Jan 03, 2017 at 04:34:31PM +0100, Lakshmipathi.G wrote:
> Will include other fields, if this gets accepted.
> 
> Signed-off-by: Lakshmipathi.G <Lakshmipathi.G@xxxxxxxxxx>
> ---
>  btrfs-corrupt-block.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/btrfs-corrupt-block.c b/btrfs-corrupt-block.c
> index 16680df..64376ca 100644
> --- a/btrfs-corrupt-block.c
> +++ b/btrfs-corrupt-block.c
> @@ -309,6 +309,7 @@ enum btrfs_inode_field {
>  	BTRFS_INODE_FIELD_ISIZE,
>  	BTRFS_INODE_FIELD_NBYTES,
>  	BTRFS_INODE_FIELD_BAD,
> +	BTRFS_INODE_FIELD_NLINK,

This has to be before BTRFS_INODE_FIELD_BAD, as it's a not-so obvious
end of field sequence maker.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux