]> git.baikalelectronics.ru Git - kernel.git/commit
UBIFS: fix a couple bugs in UBIFS xattr length calculation
authorSubodh Nijsure <snijsure@grid-net.com>
Fri, 31 Oct 2014 18:50:28 +0000 (13:50 -0500)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 7 Nov 2014 10:32:22 +0000 (12:32 +0200)
commit0bb0ca40a33951ccb8789baac74aece66ab2b614
tree392297d678f93cba99e06ca4758277fd1bc69291
parent7e69768e868e8fea86eef464ce9eb74600fa41d8
UBIFS: fix a couple bugs in UBIFS xattr length calculation

The journal update function did not work for extended attributes properly,
because extended attribute inodes carry the xattr data, and the size of this
data was not taken into account.

Artem: improved commit message, amended the patch a bit.

Signed-off-by: Subodh Nijsure <snijsure@grid-net.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Acked-by: Brad Mouring <brad.mouring@ni.com>
Acked-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/journal.c