Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
686762c8
Commit
686762c8
authored
Aug 17, 2005
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JFS: Initialize dentry->d_op for negative dentries too
Signed-off-by:
Dave Kleikamp
<
shaggy@austin.ibm.com
>
parent
cf590012
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
fs/jfs/namei.c
fs/jfs/namei.c
+2
-3
No files found.
fs/jfs/namei.c
View file @
686762c8
...
@@ -1390,6 +1390,8 @@ static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, struc
...
@@ -1390,6 +1390,8 @@ static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, struc
jfs_info
(
"jfs_lookup: name = %s"
,
name
);
jfs_info
(
"jfs_lookup: name = %s"
,
name
);
if
(
JFS_SBI
(
dip
->
i_sb
)
->
mntflag
&
JFS_OS2
)
dentry
->
d_op
=
&
jfs_ci_dentry_operations
;
if
((
name
[
0
]
==
'.'
)
&&
(
len
==
1
))
if
((
name
[
0
]
==
'.'
)
&&
(
len
==
1
))
inum
=
dip
->
i_ino
;
inum
=
dip
->
i_ino
;
...
@@ -1417,9 +1419,6 @@ static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, struc
...
@@ -1417,9 +1419,6 @@ static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, struc
return
ERR_PTR
(
-
EACCES
);
return
ERR_PTR
(
-
EACCES
);
}
}
if
(
JFS_SBI
(
dip
->
i_sb
)
->
mntflag
&
JFS_OS2
)
dentry
->
d_op
=
&
jfs_ci_dentry_operations
;
dentry
=
d_splice_alias
(
ip
,
dentry
);
dentry
=
d_splice_alias
(
ip
,
dentry
);
if
(
dentry
&&
(
JFS_SBI
(
dip
->
i_sb
)
->
mntflag
&
JFS_OS2
))
if
(
dentry
&&
(
JFS_SBI
(
dip
->
i_sb
)
->
mntflag
&
JFS_OS2
))
...
...
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