Tao Ma d5a7df0649 ocfs2: Reset xattr value size after xa_cleanup_value_truncate().
In ocfs2_prepare_xattr_entry, if we fail to grow an existing value,
xa_cleanup_value_truncate() will leave the old entry in place.  Thus, we
reset its value size.  However, if we were allocating a new value, we
must not reset the value size or we will BUG().  This resolves
oss.oracle.com bug 1247.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2010-05-18 16:41:21 -07:00
..
2010-05-05 18:18:08 -07:00
2010-05-18 12:31:11 -07:00
2009-10-28 23:05:57 -07:00
2009-09-22 20:09:36 -07:00
2009-07-21 15:47:55 -07:00
2009-04-03 11:39:16 -07:00
2010-05-18 12:31:05 -07:00
2009-09-22 20:09:37 -07:00
2009-10-28 23:05:57 -07:00
2008-10-13 13:57:57 -07:00
2010-05-05 18:17:30 -07:00
2008-02-03 17:33:42 +02:00
2010-05-05 18:18:07 -07:00
2010-05-05 18:17:30 -07:00
2008-01-25 15:05:46 -08:00
2009-10-28 23:05:57 -07:00