diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 49e74f45a5cd128d1e196952fe1d4c34fd1757ca..89b615765567cc6ded4a0a88d8f3cad84dcbeb5d 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1152,7 +1152,7 @@ struct f2fs_bio_info { #define RDEV(i) (raw_super->devs[i]) struct f2fs_dev_info { struct block_device *bdev; - char path[MAX_PATH_LEN]; + char path[MAX_PATH_LEN + 1]; unsigned int total_segments; block_t start_blk; block_t end_blk;