Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
osv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Verlässliche Systemsoftware
projects
osv
Commits
29652e61
Commit
29652e61
authored
11 years ago
by
Nadav Har'El
Browse files
Options
Downloads
Patches
Plain Diff
Add unsupported_poll
Sorry, missing unsupported_poll broke compilation after the previous patch
parent
ad26fb4b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fs/unsupported.c
+5
-0
5 additions, 0 deletions
fs/unsupported.c
fs/unsupported.h
+1
-0
1 addition, 0 deletions
fs/unsupported.h
with
6 additions
and
0 deletions
fs/unsupported.c
+
5
−
0
View file @
29652e61
...
...
@@ -63,3 +63,8 @@ int unsupported_write(struct file *fp, struct uio *uio, int flags)
{
return
EINVAL
;
/* as explained above, doesn't matter what we return */
}
int
unsupported_poll
(
struct
file
*
fp
,
int
events
)
{
return
0
;
}
This diff is collapsed.
Click to expand it.
fs/unsupported.h
+
1
−
0
View file @
29652e61
...
...
@@ -13,6 +13,7 @@ fo_truncate_t unsupported_truncate;
fo_ioctl_t
unsupported_ioctl
;
fo_stat_t
unsupported_stat
;
fo_chmod_t
unsupported_chmod
;
fo_poll_t
unsupported_poll
;
__END_DECLS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment