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
44612123
Commit
44612123
authored
Jan 10, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Use xfs_statfs type to statfs operation, to support multiple kernels more easily.
SGI Modid: 2.5.x-xfs:slinx:162331a
parent
3f4e11da
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
fs/xfs/linux/xfs_vfs.c
fs/xfs/linux/xfs_vfs.c
+1
-1
fs/xfs/linux/xfs_vfs.h
fs/xfs/linux/xfs_vfs.h
+4
-2
fs/xfs/xfs_vfsops.c
fs/xfs/xfs_vfsops.c
+1
-1
No files found.
fs/xfs/linux/xfs_vfs.c
View file @
44612123
...
@@ -134,7 +134,7 @@ vfs_root(
...
@@ -134,7 +134,7 @@ vfs_root(
int
int
vfs_statvfs
(
vfs_statvfs
(
struct
bhv_desc
*
bdp
,
struct
bhv_desc
*
bdp
,
struct
kstatfs
*
sp
,
xfs_statfs_t
*
sp
,
struct
vnode
*
vp
)
struct
vnode
*
vp
)
{
{
struct
bhv_desc
*
next
=
bdp
;
struct
bhv_desc
*
next
=
bdp
;
...
...
fs/xfs/linux/xfs_vfs.h
View file @
44612123
...
@@ -42,6 +42,8 @@ struct seq_file;
...
@@ -42,6 +42,8 @@ struct seq_file;
struct
super_block
;
struct
super_block
;
struct
xfs_mount_args
;
struct
xfs_mount_args
;
typedef
struct
kstatfs
xfs_statfs_t
;
typedef
struct
vfs
{
typedef
struct
vfs
{
u_int
vfs_flag
;
/* flags */
u_int
vfs_flag
;
/* flags */
fsid_t
vfs_fsid
;
/* file system ID */
fsid_t
vfs_fsid
;
/* file system ID */
...
@@ -101,7 +103,7 @@ typedef int (*vfs_unmount_t)(bhv_desc_t *, int, struct cred *);
...
@@ -101,7 +103,7 @@ typedef int (*vfs_unmount_t)(bhv_desc_t *, int, struct cred *);
typedef
int
(
*
vfs_mntupdate_t
)(
bhv_desc_t
*
,
int
*
,
typedef
int
(
*
vfs_mntupdate_t
)(
bhv_desc_t
*
,
int
*
,
struct
xfs_mount_args
*
);
struct
xfs_mount_args
*
);
typedef
int
(
*
vfs_root_t
)(
bhv_desc_t
*
,
struct
vnode
**
);
typedef
int
(
*
vfs_root_t
)(
bhv_desc_t
*
,
struct
vnode
**
);
typedef
int
(
*
vfs_statvfs_t
)(
bhv_desc_t
*
,
struct
kstatfs
*
,
struct
vnode
*
);
typedef
int
(
*
vfs_statvfs_t
)(
bhv_desc_t
*
,
xfs_statfs_t
*
,
struct
vnode
*
);
typedef
int
(
*
vfs_sync_t
)(
bhv_desc_t
*
,
int
,
struct
cred
*
);
typedef
int
(
*
vfs_sync_t
)(
bhv_desc_t
*
,
int
,
struct
cred
*
);
typedef
int
(
*
vfs_vget_t
)(
bhv_desc_t
*
,
struct
vnode
**
,
struct
fid
*
);
typedef
int
(
*
vfs_vget_t
)(
bhv_desc_t
*
,
struct
vnode
**
,
struct
fid
*
);
typedef
int
(
*
vfs_dmapiops_t
)(
bhv_desc_t
*
,
caddr_t
);
typedef
int
(
*
vfs_dmapiops_t
)(
bhv_desc_t
*
,
caddr_t
);
...
@@ -168,7 +170,7 @@ extern int vfs_showargs(bhv_desc_t *, struct seq_file *);
...
@@ -168,7 +170,7 @@ extern int vfs_showargs(bhv_desc_t *, struct seq_file *);
extern
int
vfs_unmount
(
bhv_desc_t
*
,
int
,
struct
cred
*
);
extern
int
vfs_unmount
(
bhv_desc_t
*
,
int
,
struct
cred
*
);
extern
int
vfs_mntupdate
(
bhv_desc_t
*
,
int
*
,
struct
xfs_mount_args
*
);
extern
int
vfs_mntupdate
(
bhv_desc_t
*
,
int
*
,
struct
xfs_mount_args
*
);
extern
int
vfs_root
(
bhv_desc_t
*
,
struct
vnode
**
);
extern
int
vfs_root
(
bhv_desc_t
*
,
struct
vnode
**
);
extern
int
vfs_statvfs
(
bhv_desc_t
*
,
struct
kstatfs
*
,
struct
vnode
*
);
extern
int
vfs_statvfs
(
bhv_desc_t
*
,
xfs_statfs_t
*
,
struct
vnode
*
);
extern
int
vfs_sync
(
bhv_desc_t
*
,
int
,
struct
cred
*
);
extern
int
vfs_sync
(
bhv_desc_t
*
,
int
,
struct
cred
*
);
extern
int
vfs_vget
(
bhv_desc_t
*
,
struct
vnode
**
,
struct
fid
*
);
extern
int
vfs_vget
(
bhv_desc_t
*
,
struct
vnode
**
,
struct
fid
*
);
extern
int
vfs_dmapiops
(
bhv_desc_t
*
,
caddr_t
);
extern
int
vfs_dmapiops
(
bhv_desc_t
*
,
caddr_t
);
...
...
fs/xfs/xfs_vfsops.c
View file @
44612123
...
@@ -743,7 +743,7 @@ xfs_root(
...
@@ -743,7 +743,7 @@ xfs_root(
STATIC
int
STATIC
int
xfs_statvfs
(
xfs_statvfs
(
bhv_desc_t
*
bdp
,
bhv_desc_t
*
bdp
,
struct
kstatfs
*
statp
,
xfs_statfs_t
*
statp
,
vnode_t
*
vp
)
vnode_t
*
vp
)
{
{
__uint64_t
fakeinos
;
__uint64_t
fakeinos
;
...
...
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