Eric Sandeen 914ed44b17 Fix wrong flag ASSERT in xfs_attr_shortform_getvalue
This ASSERT is testing an if_flags flag value against
a di_aformat enum value.  di_aformat is never assigned
XFS_IFINLINE.

This happens to work for now, because XFS_IFINLINE has
the same value as XFS_DINODE_FMT_LOCAL, and that's tested
just before we call this function.

However, I think the intention is to assert that we have
read in the data, i.e. XFS_IFINLINE on if_flags, before
we use if_data.  This is done in other places through the
code as well.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
2013-08-30 15:20:50 -05:00
..
2013-05-07 18:45:36 -05:00
2013-08-12 17:49:38 -05:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2013-05-30 17:26:31 -05:00
2013-08-12 16:53:39 -05:00
2013-08-12 16:46:08 -05:00
2012-11-19 20:11:24 -06:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2013-08-12 16:55:17 -05:00
2011-03-07 10:09:35 +11:00
2013-08-12 16:53:39 -05:00
2011-08-12 16:21:35 -05:00
2013-08-12 16:53:39 -05:00
2013-08-12 16:55:17 -05:00
2013-06-27 14:26:21 -05:00
2013-08-12 16:55:17 -05:00
2012-05-14 16:20:54 -05:00
2011-08-12 16:21:35 -05:00
2013-08-12 16:56:06 -05:00
2010-12-16 16:05:51 -06:00
2013-08-12 16:53:39 -05:00
2013-08-13 16:21:21 -05:00
2013-08-12 17:49:38 -05:00
2013-08-13 16:21:21 -05:00
2013-05-07 18:45:36 -05:00
2013-05-07 18:45:36 -05:00
2013-08-20 17:00:38 -05:00
2013-08-12 16:55:17 -05:00
2012-10-17 12:01:25 -05:00
2013-07-09 12:29:12 -07:00
2013-08-30 14:14:35 -05:00
2013-08-30 14:14:35 -05:00
2013-08-12 16:53:39 -05:00
2013-05-07 18:45:36 -05:00