Merge tag ‘mtd/fixes-for-5.1-rc6’ of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux [Linux 5.1]

Merge tag ‘mtd/fixes-for-5.1-rc6’ of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux [Linux 5.1]

This Linux kernel change "Merge tag ‘mtd/fixes-for-5.1-rc6’ of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux" is included in the Linux 5.1 release. This change is authored by Linus Torvalds <torvalds [at] linux-foundation.org> on Thu May 2 08:27:39 2019 -0700. The commit for this change in Linux stable tree is e2a4b10 (patch). Other info about this change: Merge: 600d725 9a8f612

Merge tag 'mtd/fixes-for-5.1-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux

Pull MTD fix from Richard Weinberger:
 "A single regression fix for the marvell nand driver"

* tag 'mtd/fixes-for-5.1-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux:
  mtd: rawnand: marvell: Clean the controller state before each operation

There is no are 0 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 fs/btrfs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 82fdda8..2973608 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -6783,7 +6783,7 @@ struct extent_map *btrfs_get_extent(struct btrfs_inode *inode,
    u64 extent_start = 0;
    u64 extent_end = 0;
    u64 objectid = btrfs_ino(inode);
-   u8 extent_type;
+   int extent_type = -1;
    struct btrfs_path *path = NULL;
    struct btrfs_root *root = inode->root;
    struct btrfs_file_extent_item *item;

Leave a Reply

Your email address will not be published. Required fields are marked *