[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALq1K=L-DWP5avgXtc0p5=D_M8tXm+Y45DphP7G9QBYo-5sXFA@mail.gmail.com>
Date: Wed, 17 Jun 2015 09:08:41 +0300
From: Leon Romanovsky <leon@...n.nu>
To: Beata Michalska <b.michalska@...sung.com>
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
> }
> - 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists