remarkable-linux/fs/fat
Artem Bityutskiy 330fe3c4c6 fat: mark superblock as dirty less often
Preparation for further changes.  It touches few functions in fatent.c and
prevents them from marking the superblock as dirty unnecessarily often.
Namely, instead of marking it as dirty in the internal tight loops - do it
only once at the end of the functions.  And instead of marking it as dirty
while holding the FAT table lock, do it outside the lock.

The reason for this patch is that marking the superblock as dirty will
soon become a little bit heavier operation, so it is cleaner to do this
only when it is necessary.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-05-31 17:49:28 -07:00
..
cache.c fat: Fix possible null deref in fat_cache_add() 2011-04-12 21:12:16 +09:00
dir.c fat: follow rename pack_hex_byte() to hex_byte_pack() 2011-10-31 17:30:57 -07:00
fat.h fat: introduce special inode for managing the FSINFO block 2012-05-31 17:49:27 -07:00
fatent.c fat: mark superblock as dirty less often 2012-05-31 17:49:28 -07:00
file.c fat: propagate umode_t 2012-01-03 22:55:09 -05:00
inode.c fat: introduce special inode for managing the FSINFO block 2012-05-31 17:49:27 -07:00
Kconfig vfat: Note the NLS requirement 2009-04-17 09:32:11 -07:00
Makefile fat: move fs/vfat/* and fs/msdos/* to fs/fat 2008-11-06 15:41:20 -08:00
misc.c fat: Replace all printk with fat_msg() 2011-04-12 21:12:42 +09:00
namei_msdos.c switch ->create() to umode_t 2012-01-03 22:54:53 -05:00
namei_vfat.c fat: fix bug in enforcing Long File Name length 2012-03-23 16:58:40 -07:00