diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-06-04 16:50:24 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-06-27 03:14:14 +0300 |
commit | b4ed8f75c82876342b3399942427392ba5f3bbb5 (patch) | |
tree | 255a51e96a772f90f358229791f06ccdcfdb6929 /fs/adfs/super.c | |
parent | 8616108de152447f99570dd45b6e3b8c71615fe5 (diff) | |
download | linux-b4ed8f75c82876342b3399942427392ba5f3bbb5.tar.xz |
fs/adfs: add time stamp and file type helpers
Add some helpers to check whether the inode has a time stamp and file
type, and to parse the file type from the load address.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/adfs/super.c')
-rw-r--r-- | fs/adfs/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/adfs/super.c b/fs/adfs/super.c index d029ae10f8a0..89b159c02b51 100644 --- a/fs/adfs/super.c +++ b/fs/adfs/super.c @@ -490,7 +490,6 @@ static int adfs_fill_super(struct super_block *sb, void *data, int silent) root_obj.size = ADFS_NEWDIR_SIZE; root_obj.attr = ADFS_NDA_DIRECTORY | ADFS_NDA_OWNER_READ | ADFS_NDA_OWNER_WRITE | ADFS_NDA_PUBLIC_READ; - root_obj.filetype = -1; /* * If this is a F+ disk with variable length directories, |