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
Kirill Smelkov
linux
Commits
72f23498
Commit
72f23498
authored
Nov 20, 2002
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Plain Diff
Merge jfs@jfs.bkbits.net:linux-2.5
into shaggy.austin.ibm.com:/shaggy/bk/jfs-2.5
parents
621ce5a8
241a4349
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
fs/jfs/inode.c
fs/jfs/inode.c
+1
-1
fs/jfs/namei.c
fs/jfs/namei.c
+2
-2
No files found.
fs/jfs/inode.c
View file @
72f23498
...
@@ -59,7 +59,7 @@ struct inode *jfs_iget(struct super_block *sb, ino_t ino)
...
@@ -59,7 +59,7 @@ struct inode *jfs_iget(struct super_block *sb, ino_t ino)
inode
->
i_mapping
->
a_ops
=
&
jfs_aops
;
inode
->
i_mapping
->
a_ops
=
&
jfs_aops
;
inode
->
i_mapping
->
gfp_mask
=
GFP_NOFS
;
inode
->
i_mapping
->
gfp_mask
=
GFP_NOFS
;
}
else
if
(
S_ISLNK
(
inode
->
i_mode
))
{
}
else
if
(
S_ISLNK
(
inode
->
i_mode
))
{
if
(
inode
->
i_size
>
IDATASIZE
)
{
if
(
inode
->
i_size
>
=
IDATASIZE
)
{
inode
->
i_op
=
&
page_symlink_inode_operations
;
inode
->
i_op
=
&
page_symlink_inode_operations
;
inode
->
i_mapping
->
a_ops
=
&
jfs_aops
;
inode
->
i_mapping
->
a_ops
=
&
jfs_aops
;
}
else
}
else
...
...
fs/jfs/namei.c
View file @
72f23498
...
@@ -602,7 +602,7 @@ s64 commitZeroLink(tid_t tid, struct inode *ip)
...
@@ -602,7 +602,7 @@ s64 commitZeroLink(tid_t tid, struct inode *ip)
break
;
break
;
case
S_IFLNK
:
case
S_IFLNK
:
/* fast symbolic link */
/* fast symbolic link */
if
(
ip
->
i_size
<
=
256
)
{
if
(
ip
->
i_size
<
IDATASIZE
)
{
ip
->
i_size
=
0
;
ip
->
i_size
=
0
;
return
0
;
return
0
;
}
}
...
@@ -674,7 +674,7 @@ int freeZeroLink(struct inode *ip)
...
@@ -674,7 +674,7 @@ int freeZeroLink(struct inode *ip)
break
;
break
;
case
S_IFLNK
:
case
S_IFLNK
:
/* if its contained in inode nothing to do */
/* if its contained in inode nothing to do */
if
(
ip
->
i_size
<
=
256
)
if
(
ip
->
i_size
<
IDATASIZE
)
return
0
;
return
0
;
break
;
break
;
default:
default:
...
...
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