[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <511CD300.7080207@pengutronix.de>
Date: Thu, 14 Feb 2013 13:05:20 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: artem.bityutskiy@...ux.intel.com
CC: linux-mtd@...ts.infradead.org, kernel@...gutronix.de,
linux-kernel@...r.kernel.org,
linux-security-module@...r.kernel.org,
Subodh Nijsure <snijsure@...d-net.com>
Subject: Re: [PATCH RFC 4/5] UBIFS: Add security.* XATTR support for the UBIFS
On 02/14/2013 08:28 AM, Artem Bityutskiy wrote:
> On Wed, 2013-02-13 at 11:23 +0100, Marc Kleine-Budde wrote:
>> --- a/fs/ubifs/journal.c
>> +++ b/fs/ubifs/journal.c
>> @@ -553,7 +553,8 @@ int ubifs_jnl_update(struct ubifs_info *c, const struct inode *dir,
>>
>> dbg_jnl("ino %lu, dent '%.*s', data len %d in dir ino %lu",
>> inode->i_ino, nm->len, nm->name, ui->data_len, dir->i_ino);
>> - ubifs_assert(dir_ui->data_len == 0);
>> + if (!xent)
>> + ubifs_assert(dir_ui->data_len == 0);
>
> Shouldn't this snippet be in 2/5 instead?
will do
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Download attachment "signature.asc" of type "application/pgp-signature" (264 bytes)
Powered by blists - more mailing lists