diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2012-01-17 11:18:56 -0600 |
---|---|---|
committer | Wu Fengguang <fengguang.wu@intel.com> | 2012-02-01 16:53:40 +0800 |
commit | 15eb77a07c714ac80201abd0a9568888bcee6276 (patch) | |
tree | cc43dc8458cb431900fd47990772ffa56b36b4f4 /include/linux/pps.h | |
parent | 2673b4cf5d59c3ee5e0c12f6d734d38770324dc4 (diff) | |
download | linux-stable-15eb77a07c714ac80201abd0a9568888bcee6276.tar.gz linux-stable-15eb77a07c714ac80201abd0a9568888bcee6276.tar.bz2 linux-stable-15eb77a07c714ac80201abd0a9568888bcee6276.zip |
writeback: fix NULL bdi->dev in trace writeback_single_inode
bdi_prune_sb() resets sb->s_bdi to default_backing_dev_info when the
tearing down the original bdi. Fix trace_writeback_single_inode to
use sb->s_bdi=default_backing_dev_info rather than bdi->dev=NULL for a
teared down bdi.
Cc: <stable@kernel.org>
Reported-by: Rabin Vincent <rabin@rab.in>
Tested-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Diffstat (limited to 'include/linux/pps.h')
0 files changed, 0 insertions, 0 deletions