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
978d231b
Commit
978d231b
authored
Oct 29, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://jfs.bkbits.net/linux-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
parents
a8f97595
37a734c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
fs/jfs/namei.c
fs/jfs/namei.c
+6
-5
No files found.
fs/jfs/namei.c
View file @
978d231b
...
@@ -772,16 +772,17 @@ int jfs_link(struct dentry *old_dentry,
...
@@ -772,16 +772,17 @@ int jfs_link(struct dentry *old_dentry,
jfs_info
(
"jfs_link: %s %s"
,
old_dentry
->
d_name
.
name
,
jfs_info
(
"jfs_link: %s %s"
,
old_dentry
->
d_name
.
name
,
dentry
->
d_name
.
name
);
dentry
->
d_name
.
name
);
if
(
ip
->
i_nlink
==
JFS_LINK_MAX
)
return
-
EMLINK
;
if
(
ip
->
i_nlink
==
0
)
return
-
ENOENT
;
tid
=
txBegin
(
ip
->
i_sb
,
0
);
tid
=
txBegin
(
ip
->
i_sb
,
0
);
down
(
&
JFS_IP
(
dir
)
->
commit_sem
);
down
(
&
JFS_IP
(
dir
)
->
commit_sem
);
down
(
&
JFS_IP
(
ip
)
->
commit_sem
);
down
(
&
JFS_IP
(
ip
)
->
commit_sem
);
if
(
ip
->
i_nlink
==
JFS_LINK_MAX
)
{
rc
=
-
EMLINK
;
goto
out
;
}
/*
/*
* scan parent directory for entry/freespace
* scan parent directory for entry/freespace
*/
*/
...
...
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