Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
72578c33
Commit
72578c33
authored
Mar 03, 2012
by
Theodore Ts'o
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ext4: unify handling of mount options which have been removed
Signed-off-by:
"Theodore Ts'o"
<
tytso@mit.edu
>
parent
39ef17f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
20 deletions
+8
-20
fs/ext4/super.c
fs/ext4/super.c
+8
-20
No files found.
fs/ext4/super.c
View file @
72578c33
...
@@ -1332,9 +1332,9 @@ static const struct export_operations ext4_export_ops = {
...
@@ -1332,9 +1332,9 @@ static const struct export_operations ext4_export_ops = {
enum
{
enum
{
Opt_bsd_df
,
Opt_minix_df
,
Opt_grpid
,
Opt_nogrpid
,
Opt_bsd_df
,
Opt_minix_df
,
Opt_grpid
,
Opt_nogrpid
,
Opt_resgid
,
Opt_resuid
,
Opt_sb
,
Opt_err_cont
,
Opt_err_panic
,
Opt_err_ro
,
Opt_resgid
,
Opt_resuid
,
Opt_sb
,
Opt_err_cont
,
Opt_err_panic
,
Opt_err_ro
,
Opt_nouid32
,
Opt_debug
,
Opt_
oldalloc
,
Opt_orlov
,
Opt_nouid32
,
Opt_debug
,
Opt_
removed
,
Opt_user_xattr
,
Opt_nouser_xattr
,
Opt_acl
,
Opt_noacl
,
Opt_user_xattr
,
Opt_nouser_xattr
,
Opt_acl
,
Opt_noacl
,
Opt_auto_da_alloc
,
Opt_noauto_da_alloc
,
Opt_noload
,
Opt_nobh
,
Opt_bh
,
Opt_auto_da_alloc
,
Opt_noauto_da_alloc
,
Opt_noload
,
Opt_commit
,
Opt_min_batch_time
,
Opt_max_batch_time
,
Opt_commit
,
Opt_min_batch_time
,
Opt_max_batch_time
,
Opt_journal_dev
,
Opt_journal_checksum
,
Opt_journal_async_commit
,
Opt_journal_dev
,
Opt_journal_checksum
,
Opt_journal_async_commit
,
Opt_abort
,
Opt_data_journal
,
Opt_data_ordered
,
Opt_data_writeback
,
Opt_abort
,
Opt_data_journal
,
Opt_data_ordered
,
Opt_data_writeback
,
...
@@ -1365,16 +1365,16 @@ static const match_table_t tokens = {
...
@@ -1365,16 +1365,16 @@ static const match_table_t tokens = {
{
Opt_err_ro
,
"errors=remount-ro"
},
{
Opt_err_ro
,
"errors=remount-ro"
},
{
Opt_nouid32
,
"nouid32"
},
{
Opt_nouid32
,
"nouid32"
},
{
Opt_debug
,
"debug"
},
{
Opt_debug
,
"debug"
},
{
Opt_
oldalloc
,
"oldalloc"
},
{
Opt_
removed
,
"oldalloc"
},
{
Opt_
orlov
,
"orlov"
},
{
Opt_
removed
,
"orlov"
},
{
Opt_user_xattr
,
"user_xattr"
},
{
Opt_user_xattr
,
"user_xattr"
},
{
Opt_nouser_xattr
,
"nouser_xattr"
},
{
Opt_nouser_xattr
,
"nouser_xattr"
},
{
Opt_acl
,
"acl"
},
{
Opt_acl
,
"acl"
},
{
Opt_noacl
,
"noacl"
},
{
Opt_noacl
,
"noacl"
},
{
Opt_noload
,
"noload"
},
{
Opt_noload
,
"noload"
},
{
Opt_noload
,
"norecovery"
},
{
Opt_noload
,
"norecovery"
},
{
Opt_
nobh
,
"nobh"
},
{
Opt_
removed
,
"nobh"
},
{
Opt_
bh
,
"bh"
},
{
Opt_
removed
,
"bh"
},
{
Opt_commit
,
"commit=%u"
},
{
Opt_commit
,
"commit=%u"
},
{
Opt_min_batch_time
,
"min_batch_time=%u"
},
{
Opt_min_batch_time
,
"min_batch_time=%u"
},
{
Opt_max_batch_time
,
"max_batch_time=%u"
},
{
Opt_max_batch_time
,
"max_batch_time=%u"
},
...
@@ -1582,13 +1582,9 @@ static int parse_options(char *options, struct super_block *sb,
...
@@ -1582,13 +1582,9 @@ static int parse_options(char *options, struct super_block *sb,
case
Opt_debug
:
case
Opt_debug
:
set_opt
(
sb
,
DEBUG
);
set_opt
(
sb
,
DEBUG
);
break
;
break
;
case
Opt_
oldalloc
:
case
Opt_
removed
:
ext4_msg
(
sb
,
KERN_WARNING
,
ext4_msg
(
sb
,
KERN_WARNING
,
"Ignoring deprecated oldalloc option"
);
"Ignoring deprecated %s option"
,
p
);
break
;
case
Opt_orlov
:
ext4_msg
(
sb
,
KERN_WARNING
,
"Ignoring deprecated orlov option"
);
break
;
break
;
#ifdef CONFIG_EXT4_FS_XATTR
#ifdef CONFIG_EXT4_FS_XATTR
case
Opt_user_xattr
:
case
Opt_user_xattr
:
...
@@ -1781,14 +1777,6 @@ static int parse_options(char *options, struct super_block *sb,
...
@@ -1781,14 +1777,6 @@ static int parse_options(char *options, struct super_block *sb,
else
else
clear_opt
(
sb
,
BARRIER
);
clear_opt
(
sb
,
BARRIER
);
break
;
break
;
case
Opt_nobh
:
ext4_msg
(
sb
,
KERN_WARNING
,
"Ignoring deprecated nobh option"
);
break
;
case
Opt_bh
:
ext4_msg
(
sb
,
KERN_WARNING
,
"Ignoring deprecated bh option"
);
break
;
case
Opt_i_version
:
case
Opt_i_version
:
sb
->
s_flags
|=
MS_I_VERSION
;
sb
->
s_flags
|=
MS_I_VERSION
;
break
;
break
;
...
...
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