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
30485186
Commit
30485186
authored
Apr 14, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo (and logic bug that the typo hid) in bit value
testing. Found by 'sparse', my source parser tool.
parent
693ccaab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/linux/nfsd/nfsd.h
include/linux/nfsd/nfsd.h
+1
-1
No files found.
include/linux/nfsd/nfsd.h
View file @
30485186
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
#define MAY_LOCK 32
#define MAY_LOCK 32
#define MAY_OWNER_OVERRIDE 64
#define MAY_OWNER_OVERRIDE 64
#define MAY_LOCAL_ACCESS 128
/* IRIX doing local access check on device special file*/
#define MAY_LOCAL_ACCESS 128
/* IRIX doing local access check on device special file*/
#if (MAY_SATTR | MAY_TRUNC | MAY_LOCK | MA
X_OWNER_OVERRIDE | MAY_LOCAL_ACCESS) & (MAY_READ | MAY_WRITE | MAY_EXEC | MAY_OWNER_OVERRIDE
)
#if (MAY_SATTR | MAY_TRUNC | MAY_LOCK | MA
Y_OWNER_OVERRIDE | MAY_LOCAL_ACCESS) & (MAY_READ | MAY_WRITE | MAY_EXEC
)
# error "please use a different value for MAY_SATTR or MAY_TRUNC or MAY_LOCK or MAY_OWNER_OVERRIDE."
# error "please use a different value for MAY_SATTR or MAY_TRUNC or MAY_LOCK or MAY_OWNER_OVERRIDE."
#endif
#endif
#define MAY_CREATE (MAY_EXEC|MAY_WRITE)
#define MAY_CREATE (MAY_EXEC|MAY_WRITE)
...
...
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