summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJonathan Grant <jg@jguk.org>2020-05-22 16:07:58 +0100
committerTheodore Ts'o <tytso@mit.edu>2020-06-03 23:16:54 -0400
commit9f364e1d9537d44fdf58deeeddb51277d8327ce5 (patch)
tree80e2636d9fa02719fd2c17a6869c9fa768a3d1fd /fs
parent14ff6286309e2853aed50083c9a83328423fdd8c (diff)
add comment for ext4_dir_entry_2 file_type member
Signed-off-by: Jonathan Grant <jg@jguk.org> Reviewed-by: Andreas Dilger <adilger@dilger.ca> Link: https://lore.kernel.org/r/ad3290d5-86af-99c1-f9d5-cd1bab710429@jguk.org Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/ext4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index dbc36e377eb0..a94e7aaea6e6 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -2061,7 +2061,7 @@ struct ext4_dir_entry_2 {
__le32 inode; /* Inode number */
__le16 rec_len; /* Directory entry length */
__u8 name_len; /* Name length */
- __u8 file_type;
+ __u8 file_type; /* See file type macros EXT4_FT_* below */
char name[EXT4_NAME_LEN]; /* File name */
};