Re: [PATCH 6/8] zonefs: Add active seq file accounting

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

 



On 18/04/2022 03:12, Damien Le Moal wrote:
> +/*
> + * Manage the active zone count. Called with zi->i_truncate_mutex held.
> + */
> +static void zonefs_account_active(struct inode *inode)
> +{
> +	struct zonefs_sb_info *sbi = ZONEFS_SB(inode->i_sb);
> +	struct zonefs_inode_info *zi = ZONEFS_I(inode);
> +

Nit:	lockdep_assert_held(&zi->i_truncate_mutex);

> +	if (zi->i_ztype != ZONEFS_ZTYPE_SEQ)
> +		return;
> +

Otherwise,
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux