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
bdab9a89
Commit
bdab9a89
authored
Jan 13, 2003
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
29b49883
4dde7a75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fs/jfs/inode.c
fs/jfs/inode.c
+3
-3
No files found.
fs/jfs/inode.c
View file @
bdab9a89
...
@@ -302,7 +302,7 @@ static int jfs_readpages(struct file *file, struct address_space *mapping,
...
@@ -302,7 +302,7 @@ static int jfs_readpages(struct file *file, struct address_space *mapping,
static
int
jfs_prepare_write
(
struct
file
*
file
,
static
int
jfs_prepare_write
(
struct
file
*
file
,
struct
page
*
page
,
unsigned
from
,
unsigned
to
)
struct
page
*
page
,
unsigned
from
,
unsigned
to
)
{
{
return
block
_prepare_write
(
page
,
from
,
to
,
jfs_get_block
);
return
nobh
_prepare_write
(
page
,
from
,
to
,
jfs_get_block
);
}
}
static
sector_t
jfs_bmap
(
struct
address_space
*
mapping
,
sector_t
block
)
static
sector_t
jfs_bmap
(
struct
address_space
*
mapping
,
sector_t
block
)
...
@@ -327,7 +327,7 @@ struct address_space_operations jfs_aops = {
...
@@ -327,7 +327,7 @@ struct address_space_operations jfs_aops = {
.
writepages
=
jfs_writepages
,
.
writepages
=
jfs_writepages
,
.
sync_page
=
block_sync_page
,
.
sync_page
=
block_sync_page
,
.
prepare_write
=
jfs_prepare_write
,
.
prepare_write
=
jfs_prepare_write
,
.
commit_write
=
generic
_commit_write
,
.
commit_write
=
nobh
_commit_write
,
.
bmap
=
jfs_bmap
,
.
bmap
=
jfs_bmap
,
.
direct_IO
=
jfs_direct_IO
,
.
direct_IO
=
jfs_direct_IO
,
};
};
...
@@ -380,7 +380,7 @@ void jfs_truncate(struct inode *ip)
...
@@ -380,7 +380,7 @@ void jfs_truncate(struct inode *ip)
{
{
jFYI
(
1
,
(
"jfs_truncate: size = 0x%lx
\n
"
,
(
ulong
)
ip
->
i_size
));
jFYI
(
1
,
(
"jfs_truncate: size = 0x%lx
\n
"
,
(
ulong
)
ip
->
i_size
));
block_truncate_page
(
ip
->
i_mapping
,
ip
->
i_size
,
jfs_get_block
);
nobh_truncate_page
(
ip
->
i_mapping
,
ip
->
i_size
);
IWRITE_LOCK
(
ip
);
IWRITE_LOCK
(
ip
);
jfs_truncate_nolock
(
ip
,
ip
->
i_size
);
jfs_truncate_nolock
(
ip
,
ip
->
i_size
);
...
...
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