OK, bisectable, 3.13 good, 3.19 bad. Test is simple, build the following
and run in a chroot on a btrfs system and it will trip the same bug.

#define _GNU_SOURCE
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

int main(void)
{
        char buffer[1024] = { 0 };
        int fd;

        fd = open("test", O_CREAT | O_RDWR, 0777);
        if (fd < 0)
                return 1;

        (void)write(fd, buffer, sizeof(buffer));
        fsync(fd);
        (void)close(fd);

        return 0;
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1532145

Title:
  Kernel Panic wrt btrfs while sbuild/schroot

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1532145/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to