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
nexedi
linux
Commits
677da9bf
Commit
677da9bf
authored
Apr 10, 2004
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFSv4: attribute bitmap values need to be unsigned long integers.
parent
01d37f03
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
55 deletions
+55
-55
include/linux/nfs4.h
include/linux/nfs4.h
+55
-55
No files found.
include/linux/nfs4.h
View file @
677da9bf
...
...
@@ -217,63 +217,63 @@ enum lock_type4 {
/* Mandatory Attributes */
#define FATTR4_WORD0_SUPPORTED_ATTRS (1)
#define FATTR4_WORD0_TYPE (1 << 1)
#define FATTR4_WORD0_FH_EXPIRE_TYPE (1 << 2)
#define FATTR4_WORD0_CHANGE (1 << 3)
#define FATTR4_WORD0_SIZE (1 << 4)
#define FATTR4_WORD0_LINK_SUPPORT (1 << 5)
#define FATTR4_WORD0_SYMLINK_SUPPORT (1 << 6)
#define FATTR4_WORD0_NAMED_ATTR (1 << 7)
#define FATTR4_WORD0_FSID (1 << 8)
#define FATTR4_WORD0_UNIQUE_HANDLES (1 << 9)
#define FATTR4_WORD0_LEASE_TIME (1 << 10)
#define FATTR4_WORD0_RDATTR_ERROR (1 << 11)
#define FATTR4_WORD0_SUPPORTED_ATTRS (1
UL << 0
)
#define FATTR4_WORD0_TYPE (1
UL
<< 1)
#define FATTR4_WORD0_FH_EXPIRE_TYPE (1
UL
<< 2)
#define FATTR4_WORD0_CHANGE (1
UL
<< 3)
#define FATTR4_WORD0_SIZE (1
UL
<< 4)
#define FATTR4_WORD0_LINK_SUPPORT (1
UL
<< 5)
#define FATTR4_WORD0_SYMLINK_SUPPORT (1
UL
<< 6)
#define FATTR4_WORD0_NAMED_ATTR (1
UL
<< 7)
#define FATTR4_WORD0_FSID (1
UL
<< 8)
#define FATTR4_WORD0_UNIQUE_HANDLES (1
UL
<< 9)
#define FATTR4_WORD0_LEASE_TIME (1
UL
<< 10)
#define FATTR4_WORD0_RDATTR_ERROR (1
UL
<< 11)
/* Recommended Attributes */
#define FATTR4_WORD0_ACL (1 << 12)
#define FATTR4_WORD0_ACLSUPPORT (1 << 13)
#define FATTR4_WORD0_ARCHIVE (1 << 14)
#define FATTR4_WORD0_CANSETTIME (1 << 15)
#define FATTR4_WORD0_CASE_INSENSITIVE (1 << 16)
#define FATTR4_WORD0_CASE_PRESERVING (1 << 17)
#define FATTR4_WORD0_CHOWN_RESTRICTED (1 << 18)
#define FATTR4_WORD0_FILEHANDLE (1 << 19)
#define FATTR4_WORD0_FILEID (1 << 20)
#define FATTR4_WORD0_FILES_AVAIL (1 << 21)
#define FATTR4_WORD0_FILES_FREE (1 << 22)
#define FATTR4_WORD0_FILES_TOTAL (1 << 23)
#define FATTR4_WORD0_FS_LOCATIONS (1 << 24)
#define FATTR4_WORD0_HIDDEN (1 << 25)
#define FATTR4_WORD0_HOMOGENEOUS (1 << 26)
#define FATTR4_WORD0_MAXFILESIZE (1 << 27)
#define FATTR4_WORD0_MAXLINK (1 << 28)
#define FATTR4_WORD0_MAXNAME (1 << 29)
#define FATTR4_WORD0_MAXREAD (1 << 30)
#define FATTR4_WORD0_MAXWRITE (1 << 31)
#define FATTR4_WORD1_MIMETYPE (1)
#define FATTR4_WORD1_MODE (1 << 1)
#define FATTR4_WORD1_NO_TRUNC (1 << 2)
#define FATTR4_WORD1_NUMLINKS (1 << 3)
#define FATTR4_WORD1_OWNER (1 << 4)
#define FATTR4_WORD1_OWNER_GROUP (1 << 5)
#define FATTR4_WORD1_QUOTA_HARD (1 << 6)
#define FATTR4_WORD1_QUOTA_SOFT (1 << 7)
#define FATTR4_WORD1_QUOTA_USED (1 << 8)
#define FATTR4_WORD1_RAWDEV (1 << 9)
#define FATTR4_WORD1_SPACE_AVAIL (1 << 10)
#define FATTR4_WORD1_SPACE_FREE (1 << 11)
#define FATTR4_WORD1_SPACE_TOTAL (1 << 12)
#define FATTR4_WORD1_SPACE_USED (1 << 13)
#define FATTR4_WORD1_SYSTEM (1 << 14)
#define FATTR4_WORD1_TIME_ACCESS (1 << 15)
#define FATTR4_WORD1_TIME_ACCESS_SET (1 << 16)
#define FATTR4_WORD1_TIME_BACKUP (1 << 17)
#define FATTR4_WORD1_TIME_CREATE (1 << 18)
#define FATTR4_WORD1_TIME_DELTA (1 << 19)
#define FATTR4_WORD1_TIME_METADATA (1 << 20)
#define FATTR4_WORD1_TIME_MODIFY (1 << 21)
#define FATTR4_WORD1_TIME_MODIFY_SET (1 << 22)
#define FATTR4_WORD0_ACL (1
UL
<< 12)
#define FATTR4_WORD0_ACLSUPPORT (1
UL
<< 13)
#define FATTR4_WORD0_ARCHIVE (1
UL
<< 14)
#define FATTR4_WORD0_CANSETTIME (1
UL
<< 15)
#define FATTR4_WORD0_CASE_INSENSITIVE (1
UL
<< 16)
#define FATTR4_WORD0_CASE_PRESERVING (1
UL
<< 17)
#define FATTR4_WORD0_CHOWN_RESTRICTED (1
UL
<< 18)
#define FATTR4_WORD0_FILEHANDLE (1
UL
<< 19)
#define FATTR4_WORD0_FILEID (1
UL
<< 20)
#define FATTR4_WORD0_FILES_AVAIL (1
UL
<< 21)
#define FATTR4_WORD0_FILES_FREE (1
UL
<< 22)
#define FATTR4_WORD0_FILES_TOTAL (1
UL
<< 23)
#define FATTR4_WORD0_FS_LOCATIONS (1
UL
<< 24)
#define FATTR4_WORD0_HIDDEN (1
UL
<< 25)
#define FATTR4_WORD0_HOMOGENEOUS (1
UL
<< 26)
#define FATTR4_WORD0_MAXFILESIZE (1
UL
<< 27)
#define FATTR4_WORD0_MAXLINK (1
UL
<< 28)
#define FATTR4_WORD0_MAXNAME (1
UL
<< 29)
#define FATTR4_WORD0_MAXREAD (1
UL
<< 30)
#define FATTR4_WORD0_MAXWRITE (1
UL
<< 31)
#define FATTR4_WORD1_MIMETYPE (1
UL << 0
)
#define FATTR4_WORD1_MODE (1
UL
<< 1)
#define FATTR4_WORD1_NO_TRUNC (1
UL
<< 2)
#define FATTR4_WORD1_NUMLINKS (1
UL
<< 3)
#define FATTR4_WORD1_OWNER (1
UL
<< 4)
#define FATTR4_WORD1_OWNER_GROUP (1
UL
<< 5)
#define FATTR4_WORD1_QUOTA_HARD (1
UL
<< 6)
#define FATTR4_WORD1_QUOTA_SOFT (1
UL
<< 7)
#define FATTR4_WORD1_QUOTA_USED (1
UL
<< 8)
#define FATTR4_WORD1_RAWDEV (1
UL
<< 9)
#define FATTR4_WORD1_SPACE_AVAIL (1
UL
<< 10)
#define FATTR4_WORD1_SPACE_FREE (1
UL
<< 11)
#define FATTR4_WORD1_SPACE_TOTAL (1
UL
<< 12)
#define FATTR4_WORD1_SPACE_USED (1
UL
<< 13)
#define FATTR4_WORD1_SYSTEM (1
UL
<< 14)
#define FATTR4_WORD1_TIME_ACCESS (1
UL
<< 15)
#define FATTR4_WORD1_TIME_ACCESS_SET (1
UL
<< 16)
#define FATTR4_WORD1_TIME_BACKUP (1
UL
<< 17)
#define FATTR4_WORD1_TIME_CREATE (1
UL
<< 18)
#define FATTR4_WORD1_TIME_DELTA (1
UL
<< 19)
#define FATTR4_WORD1_TIME_METADATA (1
UL
<< 20)
#define FATTR4_WORD1_TIME_MODIFY (1
UL
<< 21)
#define FATTR4_WORD1_TIME_MODIFY_SET (1
UL
<< 22)
#define NFSPROC4_NULL 0
#define NFSPROC4_COMPOUND 1
...
...
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