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
5336b84a
Commit
5336b84a
authored
Sep 27, 2002
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XFS: Small comment corrections/updates
Modid: 2.5.x-xfs:slinx:127729a
parent
d5ffce3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
fs/xfs/linux/xfs_vnode.h
fs/xfs/linux/xfs_vnode.h
+3
-11
No files found.
fs/xfs/linux/xfs_vnode.h
View file @
5336b84a
...
@@ -56,10 +56,8 @@ typedef __u64 vnumber_t;
...
@@ -56,10 +56,8 @@ typedef __u64 vnumber_t;
/*
/*
* MP locking protocols:
* MP locking protocols:
* v_flag, v_count VN_LOCK/VN_UNLOCK
* v_flag, v_vfsp VN_LOCK/VN_UNLOCK
* v_vfsp VN_LOCK/VN_UNLOCK
* v_type read-only or fs-dependent
* v_type read-only or fs-dependent
* v_list, v_hashp, v_hashn freelist lock
*/
*/
typedef
struct
vnode
{
typedef
struct
vnode
{
__u32
v_flag
;
/* vnode flags (see below) */
__u32
v_flag
;
/* vnode flags (see below) */
...
@@ -70,9 +68,9 @@ typedef struct vnode {
...
@@ -70,9 +68,9 @@ typedef struct vnode {
spinlock_t
v_lock
;
/* don't use VLOCK on Linux */
spinlock_t
v_lock
;
/* don't use VLOCK on Linux */
struct
inode
v_inode
;
/* linux inode */
struct
inode
v_inode
;
/* linux inode */
#ifdef
CONFIG_XFS_VNODE_TRACING
#ifdef
CONFIG_XFS_VNODE_TRACING
struct
ktrace
*
v_trace
;
/* trace header structure */
struct
ktrace
*
v_trace
;
/* trace header structure */
#endif
/* CONFIG_XFS_VNODE_TRACING */
#endif
}
vnode_t
;
}
vnode_t
;
/*
/*
...
@@ -170,7 +168,6 @@ typedef enum vchange {
...
@@ -170,7 +168,6 @@ typedef enum vchange {
#define v_fops v_bh.bh_first->bd_ops
/* ops for first behavior */
#define v_fops v_bh.bh_first->bd_ops
/* ops for first behavior */
union
rval
;
struct
uio
;
struct
uio
;
struct
file
;
struct
file
;
struct
vattr
;
struct
vattr
;
...
@@ -275,11 +272,6 @@ typedef struct vnodeops {
...
@@ -275,11 +272,6 @@ typedef struct vnodeops {
*/
*/
#define _VOP_(op, vp) (*((vnodeops_t *)(vp)->v_fops)->op)
#define _VOP_(op, vp) (*((vnodeops_t *)(vp)->v_fops)->op)
/*
* Be careful with VOP_OPEN, since we're holding the chain lock on the
* original vnode and VOP_OPEN semantic allows the new vnode to be returned
* in vpp. The practice of passing &vp for vpp just doesn't work.
*/
#define VOP_READ(vp,file,buf,size,offset,cr,rv) \
#define VOP_READ(vp,file,buf,size,offset,cr,rv) \
{ \
{ \
VN_BHV_READ_LOCK(&(vp)->v_bh); \
VN_BHV_READ_LOCK(&(vp)->v_bh); \
...
...
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