exfat_mount.c as
exfat_umount().
- Change some functions to static.
This also fixes the exfat_bdev_close() leak. :-)
Reviewed-by: Takahiro Mori
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat.h | 11 +---
drivers/staging/exfat/exfat_core.c | 82
Add Boot-Regions verification specified in exFAT specification.
Reviewed-by: Takahiro Mori
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat_core.c | 69 ++
1 file changed, 69 insertions(+)
diff --git a/drivers/staging/exfat/exfat_core.c
b/drivers
led in fs_set_vol_flags(),
and tmp_bh leak in exfat_mount(). :-)
Reviewed-by: Takahiro Mori
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat_core.c | 106 -
1 file changed, 45 insertions(+), 61 deletions(-)
diff --git a/drivers/staging/exfat/exfat_core.c
- Remove redundant code of calc_checksum_2byte() and rename to calc_checksum16.
- Replace checksum calculation in __load_upcase_table() with calc_checksum32().
Reviewed-by: Takahiro Mori
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat.h | 3 ++-
drivers/staging/exfat
fs_info_t.PBR_sector (always 0).
- Remove unused definitions.
Reviewed-by: Takahiro Mori
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat.h | 139 +++-
drivers/staging/exfat/exfat_core.c | 62 ++---
drivers/staging/exfat/exfat_super.c
Clean up d_entry rebuilding in exfat_rename_file() and move_file().
-Replace memcpy of d_entry with structure copy.
-Change to use the value already stored in fid.
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat_core.c | 25 ++---
1 file changed, 10
If statement does not affect results when updating directory entry in
ffsMapCluster().
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat_super.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/exfat/exfat_super.c
b/drivers/staging/exfat
The mode parameter in ffsCreateFile() and create_file() is redundant.
Remove it and definition.
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat.h | 5 +
drivers/staging/exfat/exfat_core.c | 6 +++---
drivers/staging/exfat/exfat_super.c | 7 +++
3 files changed, 7
buf_cache_t.flag is used only for lock.
Change the variable name from 'flag' to 'locked' and remove unused definitions.
Reviewed-by: Takahiro Mori
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat.h | 2 +-
drivers/staging/exfa
Completely remove symlink codes and definitions.
In the previous patch, it was not completely removed.
Reviewed-by: Takahiro Mori
Signed-off-by: Tetsuhiro Kohada
---
Changes in v3:
- fixed subject line
Changes in v2:
- previous patch didn't completely remove it
drivers/staging/exfat/ex
Completely remove symlink codes and definitions.
In the previous patch, it was not completely removed.
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat.h | 3 ---
drivers/staging/exfat/exfat_core.c | 3 ---
drivers/staging/exfat/exfat_super.c | 27
d-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat_super.c | 450
1 file changed, 450 deletions(-)
diff --git a/drivers/staging/exfat/exfat_super.c
b/drivers/staging/exfat/exfat_super.c
index b398114c2604..c7bc07e91c45 100644
--- a/drivers/staging/
remove 'dos_name','short_name' and related definitions.
'dos_name' and 'short_name' are definitions before VFAT.
These are never used in exFAT.
Signed-off-by: Tetsuhiro Kohada
---
Changes in v3:
- Rebase to staging-next.
Changes in v2:
- Rebase to lin
count_entries() function is only used to count sub-dirs.
Clarify the role and rename to count_dir_entries().
Signed-off-by: Tetsuhiro Kohada
---
Changes in v3:
- Rebase to staging-next.
Changes in v2:
- Rebase to linux-next-next-20200213.
drivers/staging/exfat/exfat.h | 2 +-
drivers
count_entries() function is only used to count sub-dirs.
Clarify the role and rename to count_dir_entries().
Signed-off-by: Tetsuhiro Kohada
---
Changes in v2:
- Rebase to linux-next-next-20200213.
drivers/staging/exfat/exfat.h | 2 +-
drivers/staging/exfat/exfat_core.c | 8
remove 'dos_name','ShortName' and related definitions.
'dos_name' and 'ShortName' are definitions before VFAT.
These are never used in exFAT.
Signed-off-by: Tetsuhiro Kohada
---
Changes in v2:
- Rebase to linux-next-next-20200213.
count_entries() function is only used to count sub-dirs.
Clarify the role and rename to count_dir_entries().
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat.h | 2 +-
drivers/staging/exfat/exfat_core.c | 8 ++--
drivers/staging/exfat/exfat_super.c | 4 ++--
3 files
remove 'dos_name','ShortName' and related definitions.
'dos_name' and 'ShortName' are definitions before VFAT.
These are never used in exFAT.
Signed-off-by: Tetsuhiro Kohada
---
drivers/staging/exfat/exfat.h | 52 +++--
27;..'.
The vol_type variable is always set to 'EXFAT'.
The variable checks are unnessesary, so remove unused code.
Signed-off-by: Tetsuhiro Kohada
Reviewed-by: Mori Takahiro
Suggested-by: Dan Carpenter
---
Changes in v2:
- Remove wrong check in exfat_readdir(), as suggested by Da
27;..'.
The vol_type variable is always set to 'EXFAT'.
The variable checks are unnessesary, so remove unused code.
Signed-off-by: Tetsuhiro Kohada
Reviewed-by: Mori Takahiro
---
drivers/staging/exfat/exfat.h | 1 -
drivers/staging/exfat/exfat_core.c | 26 ++--
From: "Tetsuhiro Kohada"
Remove 'fs_func struct' and change indirect calls to direct calls.
The following issues are described in exfat's TODO.
> Create helper function for exfat_set_entry_time () and
> exfat_set_entry_type () because it's sort of ugly
From: "Tetsuhiro Kohada"
Remove 'fs_func struct' and change indirect calls to direct calls.
The following issues are described in exfat's TODO.
> Create helper function for exfat_set_entry_time () and
> exfat_set_entry_type () because it's sort of ugly
22 matches
Mail list logo