yaffs: Handle attribute size query correctly. pre-block-summary
authorCharles Manning <cdhmanning@gmail.com>
Tue, 12 Apr 2011 22:20:06 +0000 (10:20 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Tue, 12 Apr 2011 22:20:06 +0000 (10:20 +1200)
commit7715144e7d55b2854f907001c432348e4caa5954
tree90865a354ece2b946672158dd561a79d0fafc1a4
parent2c98f380f6e28ef71d4d7a8a174cc22b0481f102
yaffs: Handle attribute size query correctly.

If getxattr() is passed a buffer size of zero then this is a size query.
Return the size of the attribute without copying it out.

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