aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.h
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-05-30 01:42:51 -0400
committerJens Axboe <jaxboe@fusionio.com>2011-05-30 01:42:51 -0400
commita1706ac4c0201ea0143dc0db0659001b26ceeabb (patch)
tree51b1fc266708d34e0878eaf1e6435773067379a0 /drivers/md/raid1.h
parent5988ce239682854d4e632fb58bff000700830394 (diff)
Revert "block: Remove extra discard_alignment from hd_struct."
It was not a good idea to start dereferencing disk->queue from the fs sysfs strategy for displaying discard alignment. We ran into first a NULL pointer deref, and after fixing that we sometimes see unvalid disk->queue pointer values. Since discard is the only one of the bunch actually looking into the queue, just revert the change. This reverts commit 23ceb5b7719e9276d4fa72a3ecf94dd396755276. Conflicts: fs/partitions/check.c
Diffstat (limited to 'drivers/md/raid1.h')
0 files changed, 0 insertions, 0 deletions