diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2008-11-06 20:53:54 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-06 23:41:21 (GMT) |
commit | 9c0aa1b87bf541affef519eb4879ce7c5a5941ae (patch) | |
tree | 3bd583d8331c630b59fc01b68ab9cb34bb953d6e /sound/Makefile | |
parent | 45cfbe354785a5bc9a38354754d6f7322f598001 (diff) | |
download | linux-fsl-qoriq-9c0aa1b87bf541affef519eb4879ce7c5a5941ae.tar.xz |
fat: Cleanup FAT attribute stuff
This adds three helpers:
fat_make_attrs() - makes FAT attributes from inode.
fat_make_mode() - makes mode_t from FAT attributes.
fat_save_attrs() - saves FAT attributes to inode.
Then this replaces: MSDOS_MKMODE() by fat_make_mode(), fat_attr() by
fat_make_attrs(), ->i_attrs = attr & ATTR_UNUSED by fat_save_attrs().
And for root inode, those is used with ATTR_DIR instead of bogus
ATTR_NONE.
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>
Diffstat (limited to 'sound/Makefile')
0 files changed, 0 insertions, 0 deletions