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
ec7ee636
Commit
ec7ee636
authored
Sep 16, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://jfs.bkbits.net/linux-2.5
into laptop.osdl.org:/home/torvalds/v2.5/linux
parents
b508cfda
bb51beca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
fs/jfs/jfs_imap.c
fs/jfs/jfs_imap.c
+5
-3
No files found.
fs/jfs/jfs_imap.c
View file @
ec7ee636
...
...
@@ -3041,10 +3041,11 @@ static int copy_from_dinode(struct dinode * dip, struct inode *ip)
jfs_ip
->
next_index
=
le32_to_cpu
(
dip
->
di_next_index
);
jfs_ip
->
otime
=
le32_to_cpu
(
dip
->
di_otime
.
tv_sec
);
jfs_ip
->
acltype
=
le32_to_cpu
(
dip
->
di_acltype
);
jfs_ip
->
dev
=
le32_to_cpu
(
dip
->
di_rdev
);
if
(
S_ISCHR
(
ip
->
i_mode
)
||
S_ISBLK
(
ip
->
i_mode
))
if
(
S_ISCHR
(
ip
->
i_mode
)
||
S_ISBLK
(
ip
->
i_mode
))
{
jfs_ip
->
dev
=
le32_to_cpu
(
dip
->
di_rdev
);
ip
->
i_rdev
=
old_decode_dev
(
jfs_ip
->
dev
);
}
if
(
S_ISDIR
(
ip
->
i_mode
))
{
memcpy
(
&
jfs_ip
->
i_dirtable
,
&
dip
->
di_dirtable
,
384
);
...
...
@@ -3101,7 +3102,8 @@ static void copy_to_dinode(struct dinode * dip, struct inode *ip)
dip
->
di_otime
.
tv_sec
=
cpu_to_le32
(
jfs_ip
->
otime
);
dip
->
di_otime
.
tv_nsec
=
0
;
dip
->
di_acltype
=
cpu_to_le32
(
jfs_ip
->
acltype
);
dip
->
di_rdev
=
cpu_to_le32
(
jfs_ip
->
dev
);
if
(
S_ISCHR
(
ip
->
i_mode
)
||
S_ISBLK
(
ip
->
i_mode
))
dip
->
di_rdev
=
cpu_to_le32
(
jfs_ip
->
dev
);
}
#ifdef _JFS_DEBUG_IMAP
...
...
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