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
de9c7f21
Commit
de9c7f21
authored
Nov 06, 2002
by
Stephen Lord
Committed by
Nathan Scott
Nov 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] remove VPURGE
SGI Modid: 2.5.x-xfs:slinx:131630a
parent
e4e31102
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
10 deletions
+0
-10
fs/xfs/linux/xfs_super.c
fs/xfs/linux/xfs_super.c
+0
-1
fs/xfs/linux/xfs_vnode.c
fs/xfs/linux/xfs_vnode.c
+0
-3
fs/xfs/linux/xfs_vnode.h
fs/xfs/linux/xfs_vnode.h
+0
-1
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.c
+0
-1
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.c
+0
-3
fs/xfs/xfs_vfsops.c
fs/xfs/xfs_vfsops.c
+0
-1
No files found.
fs/xfs/linux/xfs_super.c
View file @
de9c7f21
...
@@ -739,7 +739,6 @@ linvfs_clear_inode(
...
@@ -739,7 +739,6 @@ linvfs_clear_inode(
/*
/*
* Do all our cleanup, and remove this vnode.
* Do all our cleanup, and remove this vnode.
*/
*/
vp
->
v_flag
|=
VPURGE
;
vn_remove
(
vp
);
vn_remove
(
vp
);
}
}
}
}
...
...
fs/xfs/linux/xfs_vnode.c
View file @
de9c7f21
...
@@ -184,7 +184,6 @@ vn_get(struct vnode *vp, vmap_t *vmap)
...
@@ -184,7 +184,6 @@ vn_get(struct vnode *vp, vmap_t *vmap)
return
NULL
;
return
NULL
;
vn_trace_exit
(
vp
,
"vn_get"
,
(
inst_t
*
)
__return_address
);
vn_trace_exit
(
vp
,
"vn_get"
,
(
inst_t
*
)
__return_address
);
ASSERT
((
vp
->
v_flag
&
VPURGE
)
==
0
);
return
vp
;
return
vp
;
}
}
...
@@ -238,8 +237,6 @@ vn_purge(struct vnode *vp, vmap_t *vmap)
...
@@ -238,8 +237,6 @@ vn_purge(struct vnode *vp, vmap_t *vmap)
{
{
vn_trace_entry
(
vp
,
"vn_purge"
,
(
inst_t
*
)
__return_address
);
vn_trace_entry
(
vp
,
"vn_purge"
,
(
inst_t
*
)
__return_address
);
ASSERT
(
vp
->
v_flag
&
VPURGE
);
again:
again:
/*
/*
* Check whether vp has already been reclaimed since our caller
* Check whether vp has already been reclaimed since our caller
...
...
fs/xfs/linux/xfs_vnode.h
View file @
de9c7f21
...
@@ -119,7 +119,6 @@ extern ushort vttoif_tab[];
...
@@ -119,7 +119,6 @@ extern ushort vttoif_tab[];
#define VFRLOCKS 0x8000000
/* vnode has FR locks applied */
#define VFRLOCKS 0x8000000
/* vnode has FR locks applied */
#define VENF_LOCKING 0x10000000
/* enf. mode FR locking in effect */
#define VENF_LOCKING 0x10000000
/* enf. mode FR locking in effect */
#define VOPLOCK 0x20000000
/* oplock set on the vnode */
#define VOPLOCK 0x20000000
/* oplock set on the vnode */
#define VPURGE 0x40000000
/* In the linux 'put' thread */
typedef
enum
vrwlock
{
VRWLOCK_NONE
,
VRWLOCK_READ
,
typedef
enum
vrwlock
{
VRWLOCK_NONE
,
VRWLOCK_READ
,
VRWLOCK_WRITE
,
VRWLOCK_WRITE_DIRECT
,
VRWLOCK_WRITE
,
VRWLOCK_WRITE_DIRECT
,
...
...
fs/xfs/xfs_inode.c
View file @
de9c7f21
...
@@ -3384,7 +3384,6 @@ xfs_iflush_all(
...
@@ -3384,7 +3384,6 @@ xfs_iflush_all(
* whether we reached the end or not.
* whether we reached the end or not.
*/
*/
VMAP
(
vp
,
vmap
);
VMAP
(
vp
,
vmap
);
vp
->
v_flag
|=
VPURGE
;
/* OK for vn_purge */
XFS_MOUNT_IUNLOCK
(
mp
);
XFS_MOUNT_IUNLOCK
(
mp
);
vn_purge
(
vp
,
&
vmap
);
vn_purge
(
vp
,
&
vmap
);
...
...
fs/xfs/xfs_mount.c
View file @
de9c7f21
...
@@ -900,7 +900,6 @@ xfs_mountfs(
...
@@ -900,7 +900,6 @@ xfs_mountfs(
VMAP
(
rvp
,
vmap
);
VMAP
(
rvp
,
vmap
);
prdev
(
"Root inode %llu is not a directory"
,
prdev
(
"Root inode %llu is not a directory"
,
mp
->
m_dev
,
(
unsigned
long
long
)
rip
->
i_ino
);
mp
->
m_dev
,
(
unsigned
long
long
)
rip
->
i_ino
);
rvp
->
v_flag
|=
VPURGE
;
xfs_iunlock
(
rip
,
XFS_ILOCK_EXCL
);
xfs_iunlock
(
rip
,
XFS_ILOCK_EXCL
);
VN_RELE
(
rvp
);
VN_RELE
(
rvp
);
vn_purge
(
rvp
,
&
vmap
);
vn_purge
(
rvp
,
&
vmap
);
...
@@ -936,7 +935,6 @@ xfs_mountfs(
...
@@ -936,7 +935,6 @@ xfs_mountfs(
(
!
quotaondisk
?
"out quota"
:
""
),
(
!
quotaondisk
?
"out quota"
:
""
),
(
uquotaondisk
?
" usrquota"
:
""
),
(
uquotaondisk
?
" usrquota"
:
""
),
(
gquotaondisk
?
" grpquota"
:
""
));
(
gquotaondisk
?
" grpquota"
:
""
));
rvp
->
v_flag
|=
VPURGE
;
VN_RELE
(
rvp
);
VN_RELE
(
rvp
);
vn_remove
(
rvp
);
vn_remove
(
rvp
);
error
=
XFS_ERROR
(
EPERM
);
error
=
XFS_ERROR
(
EPERM
);
...
@@ -951,7 +949,6 @@ xfs_mountfs(
...
@@ -951,7 +949,6 @@ xfs_mountfs(
* Free up the root inode.
* Free up the root inode.
*/
*/
cmn_err
(
CE_WARN
,
"XFS: failed to read RT inodes"
);
cmn_err
(
CE_WARN
,
"XFS: failed to read RT inodes"
);
rvp
->
v_flag
|=
VPURGE
;
VMAP
(
rvp
,
vmap
);
VMAP
(
rvp
,
vmap
);
VN_RELE
(
rvp
);
VN_RELE
(
rvp
);
vn_purge
(
rvp
,
&
vmap
);
vn_purge
(
rvp
,
&
vmap
);
...
...
fs/xfs/xfs_vfsops.c
View file @
de9c7f21
...
@@ -589,7 +589,6 @@ xfs_unmount(
...
@@ -589,7 +589,6 @@ xfs_unmount(
* Drop the reference count, and then
* Drop the reference count, and then
* run the vnode through vn_remove.
* run the vnode through vn_remove.
*/
*/
rvp
->
v_flag
|=
VPURGE
;
/* OK for vn_purge */
VN_RELE
(
rvp
);
VN_RELE
(
rvp
);
vn_remove
(
rvp
);
vn_remove
(
rvp
);
...
...
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