Em 27-09-2010 19:25, Jan Kara escreveu:
[Added CCs for similar ecryptfs warning]
On Thu 23-09-10 12:38:49, Andrew Morton wrote:
>> [...]
>> device fsid 44d595920ddedfa-3ece6b56e80f689e devid 1 transid 22342
>> /dev/mapper/vg_cesarbinspiro-lv_home
>> SELinux: initialized (dev dm-3, type btrfs), uses xattr
>> ------------[ cut here ]------------
>> WARNING: at fs/fs-writeback.c:87 inode_to_bdi+0x62/0x6d()
>> Hardware name: Inspiron N4010
>> Dirtiable inode bdi default != sb bdi btrfs
That suggests that we should probably handle such cases in a more generic
way by changing the code in inode_init_always(). The patch below makes at
least btrfs happy for me... Could you maybe test it? Thanks.
Applied on top of v2.6.36-rc5-151-g32163f4, running it right now. The
warning messages no longer happen, and everything seems to be working fine.
Tested-by: Cesar Eduardo Barros <cesarb(a)cesarb.net>
--
Cesar Eduardo Barros
cesarb(a)cesarb.net
cesar.barros(a)gmail.com