summaryrefslogtreecommitdiffstats
path: root/fs/adfs/super.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-06-04 14:50:24 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2019-06-26 20:14:14 -0400
commitb4ed8f75c82876342b3399942427392ba5f3bbb5 (patch)
tree255a51e96a772f90f358229791f06ccdcfdb6929 /fs/adfs/super.c
parent8616108de152447f99570dd45b6e3b8c71615fe5 (diff)
downloadlinux-b4ed8f75c82876342b3399942427392ba5f3bbb5.tar.gz
linux-b4ed8f75c82876342b3399942427392ba5f3bbb5.tar.bz2
linux-b4ed8f75c82876342b3399942427392ba5f3bbb5.zip
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.c1
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,