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
322105e2
Commit
322105e2
authored
9 years ago
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lustre: kill unused helper
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
539fcc01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
...ers/staging/lustre/lustre/include/linux/lustre_compat25.h
+0
-15
No files found.
drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
View file @
322105e2
...
@@ -189,22 +189,7 @@ static inline int ll_quota_off(struct super_block *sb, int off, int remount)
...
@@ -189,22 +189,7 @@ static inline int ll_quota_off(struct super_block *sb, int off, int remount)
#endif
#endif
/*
* After 3.1, kernel's nameidata.intent.open.flags is different
* with lustre's lookup_intent.it_flags, as lustre's it_flags'
* lower bits equal to FMODE_xxx while kernel doesn't transliterate
* lower bits of nameidata.intent.open.flags to FMODE_xxx.
* */
#include <linux/version.h>
#include <linux/version.h>
static
inline
int
ll_namei_to_lookup_intent_flag
(
int
flag
)
{
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0)
flag
=
(
flag
&
~
O_ACCMODE
)
|
OPEN_FMODE
(
flag
);
#endif
return
flag
;
}
#include <linux/fs.h>
#include <linux/fs.h>
# define ll_umode_t umode_t
# define ll_umode_t umode_t
...
...
This diff is collapsed.
Click to expand it.
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