Revert "exofs: Set i_mapping->backing_dev_info anyway"
authorBoaz Harrosh <bharrosh@panasas.com>
Wed, 2 Feb 2011 19:02:12 +0000 (21:02 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Feb 2011 01:53:27 +0000 (17:53 -0800)
commit0b0abeaf3d30cec03ac6497fe978b8f7edecc5ae
tree6797384d6bbf617b6b1a6d5bb0a307c28c52798c
parentf2f1756d7de37cc8ca17705c5bc3dfcbfb589ab9
Revert "exofs: Set i_mapping->backing_dev_info anyway"

This reverts commit 115e19c53501edc11f730191f7f047736815ae3d.

Apparently setting inode->bdi to one's own sb->s_bdi stops VFS from
sending *read-aheads*.  This problem was bisected to this commit.  A
revert fixes it.  I'll investigate farther why is this happening for the
next Kernel, but for now a revert.

I'm sending to stable@kernel.org as well, since it exists also in
2.6.37.  2.6.36 is good and does not have this patch.

CC: Stable Tree <stable@kernel.org>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exofs/inode.c