Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
A
android_kernel_samsung_msm8916
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
e
D
devices
samsung
android_kernel_samsung_msm8916
Commits
8506055a
Commit
8506055a
authored
Jun 24, 2018
by
Vincent Zvikaramba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "fs: sdfat: Add config option to register sdFAT for exFAT"
This reverts commit
fa11c675
.
parent
d5d15db2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
32 deletions
+1
-32
Kconfig
fs/sdfat/Kconfig
+0
-7
sdfat.c
fs/sdfat/sdfat.c
+1
-25
No files found.
fs/sdfat/Kconfig
View file @
8506055a
...
...
@@ -15,13 +15,6 @@ config SDFAT_FS
To compile this as a module, choose M here: the module will be called
sdfat_core and sdfat_fs.
config SDFAT_USE_FOR_EXFAT
bool "Register sdFAT as exFAT"
default y
depends on SDFAT_FS && !EXFAT_FS
help
If you want to register sdFAT as available for exFAT, say Y.
config SDFAT_DELAYED_META_DIRTY
bool "Enable delayed metadata dirty"
default y
...
...
fs/sdfat/sdfat.c
View file @
8506055a
...
...
@@ -4975,20 +4975,6 @@ static struct file_system_type sdfat_fs_type = {
.
fs_flags
=
FS_REQUIRES_DEV
,
};
#ifdef CONFIG_SDFAT_USE_FOR_EXFAT
static
struct
file_system_type
exfat_fs_type
=
{
.
owner
=
THIS_MODULE
,
.
name
=
"exfat"
,
.
mount
=
sdfat_fs_mount
,
#ifdef CONFIG_SDFAT_DBG_IOCTL
.
kill_sb
=
sdfat_debug_kill_sb
,
#else
.
kill_sb
=
kill_block_super
,
#endif
/* CONFIG_SDFAT_DBG_IOCTL */
.
fs_flags
=
FS_REQUIRES_DEV
,
};
#endif
/* CONFIG_SDFAT_USE_FOR_EXFAT */
static
int
__init
init_sdfat_fs
(
void
)
{
int
err
;
...
...
@@ -5027,14 +5013,6 @@ static int __init init_sdfat_fs(void)
goto
error
;
}
#ifdef CONFIG_SDFAT_USE_FOR_EXFAT
err
=
register_filesystem
(
&
exfat_fs_type
);
if
(
err
)
{
pr_err
(
"[SDFAT] failed to register for exfat filesystem
\n
"
);
goto
error
;
}
#endif
/* CONFIG_SDFAT_USE_FOR_EXFAT */
return
0
;
error:
sdfat_statistics_uninit
();
...
...
@@ -5064,9 +5042,7 @@ static void __exit exit_sdfat_fs(void)
sdfat_destroy_inodecache
();
unregister_filesystem
(
&
sdfat_fs_type
);
#ifdef CONFIG_SDFAT_USE_FOR_EXFAT
unregister_filesystem
(
&
exfat_fs_type
);
#endif
/* CONFIG_SDFAT_USE_FOR_EXFAT */
fsapi_shutdown
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment