Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xcap-capability-linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xcap
xcap-capability-linux
Commits
96e13914
Commit
96e13914
authored
14 years ago
by
Al Viro
Browse files
Options
Downloads
Patches
Plain Diff
switch adfs
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
eddf790b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fs/adfs/dir.c
+0
-1
0 additions, 1 deletion
fs/adfs/dir.c
fs/adfs/super.c
+2
-2
2 additions, 2 deletions
fs/adfs/super.c
with
2 additions
and
3 deletions
fs/adfs/dir.c
+
0
−
1
View file @
96e13914
...
@@ -276,7 +276,6 @@ adfs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd)
...
@@ -276,7 +276,6 @@ adfs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd)
struct
object_info
obj
;
struct
object_info
obj
;
int
error
;
int
error
;
d_set_d_op
(
dentry
,
&
adfs_dentry_operations
);
lock_kernel
();
lock_kernel
();
error
=
adfs_dir_lookup_byname
(
dir
,
&
dentry
->
d_name
,
&
obj
);
error
=
adfs_dir_lookup_byname
(
dir
,
&
dentry
->
d_name
,
&
obj
);
if
(
error
==
0
)
{
if
(
error
==
0
)
{
...
...
This diff is collapsed.
Click to expand it.
fs/adfs/super.c
+
2
−
2
View file @
96e13914
...
@@ -473,6 +473,7 @@ static int adfs_fill_super(struct super_block *sb, void *data, int silent)
...
@@ -473,6 +473,7 @@ static int adfs_fill_super(struct super_block *sb, void *data, int silent)
asb
->
s_namelen
=
ADFS_F_NAME_LEN
;
asb
->
s_namelen
=
ADFS_F_NAME_LEN
;
}
}
sb
->
s_d_op
=
&
adfs_dentry_operations
;
root
=
adfs_iget
(
sb
,
&
root_obj
);
root
=
adfs_iget
(
sb
,
&
root_obj
);
sb
->
s_root
=
d_alloc_root
(
root
);
sb
->
s_root
=
d_alloc_root
(
root
);
if
(
!
sb
->
s_root
)
{
if
(
!
sb
->
s_root
)
{
...
@@ -483,8 +484,7 @@ static int adfs_fill_super(struct super_block *sb, void *data, int silent)
...
@@ -483,8 +484,7 @@ static int adfs_fill_super(struct super_block *sb, void *data, int silent)
kfree
(
asb
->
s_map
);
kfree
(
asb
->
s_map
);
adfs_error
(
sb
,
"get root inode failed
\n
"
);
adfs_error
(
sb
,
"get root inode failed
\n
"
);
goto
error
;
goto
error
;
}
else
}
d_set_d_op
(
sb
->
s_root
,
&
adfs_dentry_operations
);
unlock_kernel
();
unlock_kernel
();
return
0
;
return
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment