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
3f2b6dd3
Commit
3f2b6dd3
authored
Dec 03, 2002
by
Art Haas
Committed by
Linus Torvalds
Dec 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializer for fx/ext3/namei.c
parent
9d6bae4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
fs/ext3/namei.c
fs/ext3/namei.c
+7
-7
No files found.
fs/ext3/namei.c
View file @
3f2b6dd3
...
@@ -992,13 +992,13 @@ struct dentry *ext3_get_parent(struct dentry *child)
...
@@ -992,13 +992,13 @@ struct dentry *ext3_get_parent(struct dentry *child)
#define S_SHIFT 12
#define S_SHIFT 12
static
unsigned
char
ext3_type_by_mode
[
S_IFMT
>>
S_SHIFT
]
=
{
static
unsigned
char
ext3_type_by_mode
[
S_IFMT
>>
S_SHIFT
]
=
{
[
S_IFREG
>>
S_SHIFT
]
EXT3_FT_REG_FILE
,
[
S_IFREG
>>
S_SHIFT
]
=
EXT3_FT_REG_FILE
,
[
S_IFDIR
>>
S_SHIFT
]
EXT3_FT_DIR
,
[
S_IFDIR
>>
S_SHIFT
]
=
EXT3_FT_DIR
,
[
S_IFCHR
>>
S_SHIFT
]
EXT3_FT_CHRDEV
,
[
S_IFCHR
>>
S_SHIFT
]
=
EXT3_FT_CHRDEV
,
[
S_IFBLK
>>
S_SHIFT
]
EXT3_FT_BLKDEV
,
[
S_IFBLK
>>
S_SHIFT
]
=
EXT3_FT_BLKDEV
,
[
S_IFIFO
>>
S_SHIFT
]
EXT3_FT_FIFO
,
[
S_IFIFO
>>
S_SHIFT
]
=
EXT3_FT_FIFO
,
[
S_IFSOCK
>>
S_SHIFT
]
EXT3_FT_SOCK
,
[
S_IFSOCK
>>
S_SHIFT
]
=
EXT3_FT_SOCK
,
[
S_IFLNK
>>
S_SHIFT
]
EXT3_FT_SYMLINK
,
[
S_IFLNK
>>
S_SHIFT
]
=
EXT3_FT_SYMLINK
,
};
};
static
inline
void
ext3_set_de_type
(
struct
super_block
*
sb
,
static
inline
void
ext3_set_de_type
(
struct
super_block
*
sb
,
...
...
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