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
e3a17d17
Commit
e3a17d17
authored
Feb 18, 2002
by
Alexander Viro
Committed by
Linus Torvalds
Feb 18, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] (1/4) 2.5.5-pre1 fixes
hfs compile fixes
parent
518521b4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
fs/hfs/file.c
fs/hfs/file.c
+0
-1
fs/hfs/file_hdr.c
fs/hfs/file_hdr.c
+1
-2
include/linux/hfs_fs.h
include/linux/hfs_fs.h
+1
-1
No files found.
fs/hfs/file.c
View file @
e3a17d17
...
...
@@ -293,7 +293,6 @@ static inline int xlate_from_user(char *data, const char *buf, int count)
hfs_s32
hfs_do_read
(
struct
inode
*
inode
,
struct
hfs_fork
*
fork
,
hfs_u32
pos
,
char
*
buf
,
hfs_u32
count
)
{
kdev_t
dev
=
inode
->
i_dev
;
hfs_s32
size
,
chars
,
offset
,
block
,
blocks
,
read
=
0
;
int
bhrequest
,
uptodate
;
int
convert
=
HFS_I
(
inode
)
->
convert
;
...
...
fs/hfs/file_hdr.c
View file @
e3a17d17
...
...
@@ -592,8 +592,7 @@ static hfs_rwret_t hdr_read(struct file * filp, char * buf,
if
(
p
)
{
left
-=
copy_to_user
(
buf
,
p
+
offset
,
left
);
}
else
if
(
fork
)
{
left
=
hfs_do_read
(
inode
,
fork
,
offset
,
buf
,
left
,
filp
->
f_reada
!=
0
);
left
=
hfs_do_read
(
inode
,
fork
,
offset
,
buf
,
left
);
if
(
left
>
0
)
{
filp
->
f_reada
=
1
;
}
else
if
(
!
read
)
{
...
...
include/linux/hfs_fs.h
View file @
e3a17d17
...
...
@@ -267,7 +267,7 @@ extern void hfs_nat_drop_dentry(struct dentry *, const ino_t);
/* file.c */
extern
hfs_s32
hfs_do_read
(
struct
inode
*
,
struct
hfs_fork
*
,
hfs_u32
,
char
*
,
hfs_u32
,
int
);
char
*
,
hfs_u32
);
extern
hfs_s32
hfs_do_write
(
struct
inode
*
,
struct
hfs_fork
*
,
hfs_u32
,
const
char
*
,
hfs_u32
);
extern
void
hfs_file_fix_mode
(
struct
hfs_cat_entry
*
entry
);
...
...
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