Skip to content
Snippets Groups Projects
Commit eb55808d authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

vfs: provide a VAPPEND defintion

parent 9ea9000f
No related branches found
No related tags found
No related merge requests found
...@@ -58,9 +58,11 @@ typedef struct vop_vector vnodeops_t; ...@@ -58,9 +58,11 @@ typedef struct vop_vector vnodeops_t;
#define IS_XATTRDIR(dvp) (0) #define IS_XATTRDIR(dvp) (0)
#define v_count v_usecount #define v_count v_usecount
#endif
#define V_APPEND VAPPEND #define V_APPEND VAPPEND
#if 0
#define rootvfs (rootvnode == NULL ? NULL : rootvnode->v_mount) #define rootvfs (rootvnode == NULL ? NULL : rootvnode->v_mount)
static __inline int static __inline int
......
...@@ -106,6 +106,7 @@ struct vattr { ...@@ -106,6 +106,7 @@ struct vattr {
/* /*
* Modes. * Modes.
*/ */
#define VAPPEND 00010
#define VREAD 00004 /* read, write, execute permissions */ #define VREAD 00004 /* read, write, execute permissions */
#define VWRITE 00002 #define VWRITE 00002
#define VEXEC 00001 #define VEXEC 00001
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment