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
254feb88
Commit
254feb88
authored
May 27, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/hch/xfs-2.6
parents
8aadff7d
66f55071
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
19 deletions
+31
-19
fs/xfs/linux-2.6/xfs_aops.c
fs/xfs/linux-2.6/xfs_aops.c
+0
-1
fs/xfs/linux-2.6/xfs_file.c
fs/xfs/linux-2.6/xfs_file.c
+5
-2
fs/xfs/linux-2.6/xfs_ioctl32.c
fs/xfs/linux-2.6/xfs_ioctl32.c
+19
-10
fs/xfs/linux-2.6/xfs_ioctl32.h
fs/xfs/linux-2.6/xfs_ioctl32.h
+3
-3
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/linux-2.6/xfs_super.c
+1
-2
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.c
+3
-1
No files found.
fs/xfs/linux-2.6/xfs_aops.c
View file @
254feb88
...
...
@@ -886,7 +886,6 @@ xfs_page_state_convert(
SetPageUptodate
(
page
);
if
(
startio
)
{
WARN_ON
(
page_dirty
);
xfs_submit_page
(
page
,
wbc
,
bh_arr
,
cnt
,
0
,
!
page_dirty
);
}
...
...
fs/xfs/linux-2.6/xfs_file.c
View file @
254feb88
...
...
@@ -565,7 +565,7 @@ struct file_operations linvfs_file_operations = {
.
sendfile
=
linvfs_sendfile
,
.
unlocked_ioctl
=
linvfs_ioctl
,
#ifdef CONFIG_COMPAT
.
compat_ioctl
=
x
fs_compat_ioctl
,
.
compat_ioctl
=
linv
fs_compat_ioctl
,
#endif
.
mmap
=
linvfs_file_mmap
,
.
open
=
linvfs_open
,
...
...
@@ -587,7 +587,7 @@ struct file_operations linvfs_invis_file_operations = {
.
sendfile
=
linvfs_sendfile
,
.
unlocked_ioctl
=
linvfs_ioctl_invis
,
#ifdef CONFIG_COMPAT
.
compat_ioctl
=
x
fs_compat_invis_ioctl
,
.
compat_ioctl
=
linv
fs_compat_invis_ioctl
,
#endif
.
mmap
=
linvfs_file_mmap
,
.
open
=
linvfs_open
,
...
...
@@ -600,6 +600,9 @@ struct file_operations linvfs_dir_operations = {
.
read
=
generic_read_dir
,
.
readdir
=
linvfs_readdir
,
.
unlocked_ioctl
=
linvfs_ioctl
,
#ifdef CONFIG_COMPAT
.
compat_ioctl
=
linvfs_compat_ioctl
,
#endif
.
fsync
=
linvfs_fsync
,
};
...
...
fs/xfs/linux-2.6/xfs_ioctl32.c
View file @
254feb88
/*
* Copyright (c) 2004 Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2004
-2005
Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
...
...
@@ -58,8 +58,9 @@ typedef struct xfs_fsop_bulkreq32 {
__s32
ocount
;
/* output count pointer */
}
xfs_fsop_bulkreq32_t
;
static
unsigned
long
xfs_ioctl32_bulkstat
(
unsigned
long
arg
)
STATIC
unsigned
long
xfs_ioctl32_bulkstat
(
unsigned
long
arg
)
{
xfs_fsop_bulkreq32_t
__user
*
p32
=
(
void
__user
*
)
arg
;
xfs_fsop_bulkreq_t
__user
*
p
=
compat_alloc_user_space
(
sizeof
(
*
p
));
...
...
@@ -78,11 +79,11 @@ xfs_ioctl32_bulkstat(unsigned long arg)
}
#endif
static
long
__
x
fs_compat_ioctl
(
int
mode
,
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
STATIC
long
__
linv
fs_compat_ioctl
(
int
mode
,
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
{
int
error
;
struct
inode
*
inode
=
f
->
f_dentry
->
d_inode
;
struct
inode
*
inode
=
f
->
f_dentry
->
d_inode
;
vnode_t
*
vp
=
LINVFS_GET_VP
(
inode
);
switch
(
cmd
)
{
...
...
@@ -152,12 +153,20 @@ __xfs_compat_ioctl(int mode, struct file *f, unsigned cmd, unsigned long arg)
return
error
;
}
long
xfs_compat_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
long
linvfs_compat_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
{
return
__
x
fs_compat_ioctl
(
0
,
f
,
cmd
,
arg
);
return
__
linv
fs_compat_ioctl
(
0
,
f
,
cmd
,
arg
);
}
long
xfs_compat_invis_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
long
linvfs_compat_invis_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
)
{
return
__
x
fs_compat_ioctl
(
IO_INVIS
,
f
,
cmd
,
arg
);
return
__
linv
fs_compat_ioctl
(
IO_INVIS
,
f
,
cmd
,
arg
);
}
fs/xfs/linux-2.6/xfs_ioctl32.h
View file @
254feb88
/*
* Copyright (c) 2004 Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2004
-2005
Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
...
...
@@ -30,5 +30,5 @@
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
long
x
fs_compat_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
);
long
x
fs_compat_invis_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
);
long
linv
fs_compat_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
);
long
linv
fs_compat_invis_ioctl
(
struct
file
*
f
,
unsigned
cmd
,
unsigned
long
arg
);
fs/xfs/linux-2.6/xfs_super.c
View file @
254feb88
/*
* Copyright (c) 2000-200
4
Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2000-200
5
Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
...
...
@@ -66,7 +66,6 @@
#include "xfs_buf_item.h"
#include "xfs_utils.h"
#include "xfs_version.h"
#include "xfs_ioctl32.h"
#include <linux/namei.h>
#include <linux/init.h>
...
...
fs/xfs/xfs_iomap.c
View file @
254feb88
...
...
@@ -278,7 +278,9 @@ xfs_iomap(
switch
(
flags
&
(
BMAPI_WRITE
|
BMAPI_ALLOCATE
|
BMAPI_UNWRITTEN
))
{
case
BMAPI_WRITE
:
/* If we found an extent, return it */
if
(
nimaps
&&
(
imap
.
br_startblock
!=
HOLESTARTBLOCK
))
{
if
(
nimaps
&&
(
imap
.
br_startblock
!=
HOLESTARTBLOCK
)
&&
(
imap
.
br_startblock
!=
DELAYSTARTBLOCK
))
{
xfs_iomap_map_trace
(
XFS_IOMAP_WRITE_MAP
,
io
,
offset
,
count
,
iomapp
,
&
imap
,
flags
);
break
;
...
...
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