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
| ||
|
Message-id: <55813C9C.1010608@samsung.com> Date: Wed, 17 Jun 2015 11:23:40 +0200 From: Beata Michalska <b.michalska@...sung.com> To: Leon Romanovsky <leon@...n.nu> Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Linux-FSDevel <linux-fsdevel@...r.kernel.org>, linux-api@...r.kernel.org, Greg Kroah <greg@...ah.com>, jack@...e.cz, tytso@....edu, adilger.kernel@...ger.ca, Hugh Dickins <hughd@...gle.com>, lczerner@...hat.com, hch@...radead.org, linux-ext4@...r.kernel.org, Linux-MM <linux-mm@...ck.org>, kyungmin.park@...sung.com, kmpark@...radead.org Subject: Re: [RFC v3 4/4] shmem: Add support for generic FS events On 06/17/2015 08:08 AM, Leon Romanovsky wrote: >> } >> - if (error == -ENOSPC && !once++) { >> + if (error == -ENOSPC) { >> + if (!once++) { >> info = SHMEM_I(inode); >> spin_lock(&info->lock); >> shmem_recalc_inode(inode); >> spin_unlock(&info->lock); >> goto repeat; >> + } else { >> + fs_event_notify(inode->i_sb, FS_WARN_ENOSPC); >> + } >> } > > Very minor remark, please fix indentation. > I will, thank You. BR Beata -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists