yaffs: Cache object xattrib state.
authorCharles Manning <cdhmanning@gmail.com>
Wed, 8 Sep 2010 21:20:23 +0000 (09:20 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Wed, 8 Sep 2010 21:20:23 +0000 (09:20 +1200)
commitde6470acd795b2daab5372dd4a9edce3f186afea
tree0e136a0e66b52ba05f8804d25fc8bce94de0ace2
parent0035e396dc2b872289b8e6320ced59e2eea81962
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 <cdhmanning@gmail.com>
yaffs_guts.c
yaffs_guts.h
yaffs_nameval.c
yaffs_nameval.h