diff options
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 55aff6764bb9..cd02205f13c8 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -1860,7 +1860,7 @@ struct btrfs_map_token { | |||
1860 | 1860 | ||
1861 | static inline void btrfs_init_map_token (struct btrfs_map_token *token) | 1861 | static inline void btrfs_init_map_token (struct btrfs_map_token *token) |
1862 | { | 1862 | { |
1863 | memset(token, 0, sizeof(*token)); | 1863 | token->kaddr = NULL; |
1864 | } | 1864 | } |
1865 | 1865 | ||
1866 | /* some macros to generate set/get funcs for the struct fields. This | 1866 | /* some macros to generate set/get funcs for the struct fields. This |