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
4ff17ba8
Commit
4ff17ba8
authored
Sep 15, 2002
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
f67dd842
73b3ecd8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
fs/xfs/linux/xfs_aops.c
fs/xfs/linux/xfs_aops.c
+3
-3
fs/xfs/linux/xfs_lrw.c
fs/xfs/linux/xfs_lrw.c
+5
-1
fs/xfs/linux/xfs_version.h
fs/xfs/linux/xfs_version.h
+1
-1
fs/xfs/support/time.h
fs/xfs/support/time.h
+1
-1
No files found.
fs/xfs/linux/xfs_aops.c
View file @
4ff17ba8
...
...
@@ -653,11 +653,11 @@ STATIC int
linvfs_direct_IO
(
int
rw
,
struct
inode
*
inode
,
c
har
*
buf
,
c
onst
struct
iovec
*
iov
,
loff_t
offset
,
size_t
count
)
unsigned
long
nr_segs
)
{
return
generic_direct_IO
(
rw
,
inode
,
buf
,
offset
,
count
,
return
generic_direct_IO
(
rw
,
inode
,
iov
,
offset
,
nr_segs
,
linvfs_get_blocks_direct
);
}
...
...
fs/xfs/linux/xfs_lrw.c
View file @
4ff17ba8
...
...
@@ -433,6 +433,7 @@ xfs_write(
xfs_fsize_t
n
,
limit
=
XFS_MAX_FILE_OFFSET
;
xfs_iocore_t
*
io
;
vnode_t
*
vp
;
struct
iovec
iov
;
int
iolock
;
int
direct
=
file
->
f_flags
&
O_DIRECT
;
int
eventsent
=
0
;
...
...
@@ -571,7 +572,10 @@ xfs_write(
xfs_inval_cached_pages
(
vp
,
&
xip
->
i_iocore
,
*
offset
,
1
,
1
);
}
ret
=
generic_file_write_nolock
(
file
,
buf
,
size
,
offset
);
iov
.
iov_base
=
(
void
*
)
buf
;
iov
.
iov_len
=
size
;
ret
=
generic_file_write_nolock
(
file
,
&
iov
,
1
,
offset
);
if
((
ret
==
-
ENOSPC
)
&&
DM_EVENT_ENABLED
(
vp
->
v_vfsp
,
xip
,
DM_EVENT_NOSPACE
)
&&
...
...
fs/xfs/linux/xfs_version.h
View file @
4ff17ba8
...
...
@@ -39,6 +39,6 @@
#ifndef __XFS_VERSION_H__
#define __XFS_VERSION_H__
#define XFS_VERSION_STRING "CVS"
#define XFS_VERSION_STRING "CVS
-09/15/02:17
"
#endif
/* __XFS_VERSION_H__ */
fs/xfs/support/time.h
View file @
4ff17ba8
...
...
@@ -43,7 +43,7 @@ static inline void delay(long ticks)
static
inline
void
nanotime
(
struct
timespec
*
tvp
)
{
tvp
->
tv_sec
=
xtime
.
tv_sec
;
tvp
->
tv_nsec
=
xtime
.
tv_
usec
*
1000
;
tvp
->
tv_nsec
=
xtime
.
tv_
nsec
;
}
#endif
/* __XFS_SUPPORT_TIME_H__ */
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