diff options
author | David Sterba <dsterba@suse.com> | 2016-11-03 00:01:51 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-11-09 13:47:31 +0100 |
commit | 8ade920c5b5e7c54cafb58fcb18bb11a7af41436 (patch) | |
tree | 42aededadc896de3ac0d6e8273ef498430bdfff6 | |
parent | 87596654aebb9328afc03699a1d5ce690e12ec0f (diff) |
btrfs-progs: mkfs: use const char for unmodified members of directory_name_entry
We never modify the members, just point them to other strings.
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | mkfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -48,8 +48,8 @@ static u64 index_cnt = 2; static int verbose = 1; struct directory_name_entry { - char *dir_name; - char *path; + const char *dir_name; + const char *path; ino_t inum; struct list_head list; }; |