summaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoe.h
diff options
context:
space:
mode:
authorEd Cashin <ecashin@coraid.com>2012-12-17 16:03:42 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:24 -0800
commit667be1e757f5684576d01d7402907a2489b1402f (patch)
tree61acef58957c89392f1ee44a7df7e94fa985e157 /drivers/block/aoe/aoe.h
parentcd220bf51f94e6b3f7678183b6ea911cefbf7d03 (diff)
downloadlinux-667be1e757f5684576d01d7402907a2489b1402f.tar.gz
linux-667be1e757f5684576d01d7402907a2489b1402f.tar.bz2
linux-667be1e757f5684576d01d7402907a2489b1402f.zip
aoe: provide ATA identify device content to user on request
Make the aoe driver follow expected behavior when the user uses ioctl to get the ATA device identify information, allowing access to model, serial number, etc. Signed-off-by: Ed Cashin <ecashin@coraid.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/aoe/aoe.h')
-rw-r--r--drivers/block/aoe/aoe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h
index 536942b46ab6..f6e0c03fe7b2 100644
--- a/drivers/block/aoe/aoe.h
+++ b/drivers/block/aoe/aoe.h
@@ -169,6 +169,7 @@ struct aoedev {
struct aoetgt *htgt; /* target needing rexmit assistance */
ulong ntargets;
ulong kicked;
+ char ident[512];
};
/* kthread tracking */