android_kernel_xiaomi_sm8350/fs/fat
OGAWA Hirofumi dfc209c006 fat: Fix ATTR_RO for directory
FAT has the ATTR_RO (read-only) attribute. But on Windows, the ATTR_RO
of the directory will be just ignored actually, and is used by only
applications as flag. E.g. it's setted for the customized folder by
Explorer.

http://msdn2.microsoft.com/en-us/library/aa969337.aspx

This adds "rodir" option. If user specified it, ATTR_RO is used as
read-only flag even if it's the directory. Otherwise, inode->i_mode
is not used to hold ATTR_RO (i.e. fat_mode_can_save_ro() returns 0).

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-06 15:41:21 -08:00
..
cache.c fat: split include/msdos_fs.h 2008-11-06 15:41:20 -08:00
dir.c fat: cleanup fat_parse_long() error handling 2008-11-06 15:41:20 -08:00
fat.h fat: Fix ATTR_RO for directory 2008-11-06 15:41:21 -08:00
fatent.c fat: Fix fat_ent_update_ptr() for FAT12 2008-11-06 15:41:20 -08:00
file.c fat: Fix ATTR_RO for directory 2008-11-06 15:41:21 -08:00
inode.c fat: Fix ATTR_RO for directory 2008-11-06 15:41:21 -08:00
Makefile fat: move fs/vfat/* and fs/msdos/* to fs/fat 2008-11-06 15:41:20 -08:00
misc.c fat: Fix and cleanup timestamp conversion 2008-11-06 15:41:20 -08:00
namei_msdos.c fat: Cleanup msdos_lookup() 2008-11-06 15:41:21 -08:00
namei_vfat.c fat: Kill d_invalidate() in vfat_lookup() 2008-11-06 15:41:21 -08:00