yaffs: Improve xattrib to not modify if there is no space
authorCharles Manning <cdhmanning@gmail.com>
Fri, 11 Jun 2010 01:57:10 +0000 (13:57 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Sat, 12 Jun 2010 17:27:07 +0000 (05:27 +1200)
commit1c8401d1235c9771c4086aa75e31c56c5cac121c
tree164a935de03944cd72e5f36a1a731e75c6e5f659
parentb7f196b4ab69e318f2a74a84d9d42d7c951fd131
yaffs: Improve xattrib to not modify if there is no space

Previously replacing an xattrib with a larger one that could not fit
would result in the original xattrib being deleted.

We now only replace an xattrib if there is space to do so.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/dtest.c
yaffs_nameval.c