Here is a link to the upstream patch, in case anybody wants to try it
out:

http://thread.gmane.org/gmane.comp.file-systems.btrfs/12319

A quick test reveals that it does fix this bug, I haven't done any
further testing though.


Be careful when trying out patches on filesystem drivers, but for anyone
willing to take the risk here is a quick rundown of how to rebuild the
btrfs kernel module:

- unpack the kernel source (from the kernel-source package) and copy the header 
files (from the kernel-headers package) into the same tree
- apply the patch or make any other changes you want
- run make M=fs/btrfs (works for any other module directory too)
- copy the compiled module to /lib/modules/$VERSION/updates/
- run depmod
- reload the module

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

Title:
  kernel BUG when mounting btrfs filesystem from read-only (R/O) media

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

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

Reply via email to