From: Charles Manning Date: Wed, 8 Sep 2010 21:20:23 +0000 (+1200) Subject: yaffs: Cache object xattrib state. X-Git-Tag: pre-name-change~16 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=de6470acd795b2daab5372dd4a9edce3f186afea;hp=de6470acd795b2daab5372dd4a9edce3f186afea yaffs: Cache object xattrib state. We cache whether or not an object has xattributes. This is done to get around the problem of the Linux VFS trying to check security capabilities on every write. Assuming that most files don't have security attributes, this code will save on a huge amount of reads and make writing faster. Signed-off-by: Charles Manning ---