]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dm: sysfs add suspended attribute
authorPeter Rajnoha <prajnoha@redhat.com>
Mon, 22 Jun 2009 09:12:29 +0000 (10:12 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 22 Jun 2009 09:12:29 +0000 (10:12 +0100)
commit486d220fe4909b5745c4faa67faddd30a707abe2
treeeb7184f8299a5446532a6ff96d48fcdc3a461268
parent1b6da754594e6e26c24e6fbc1a34f9c03e4617a3
dm: sysfs add suspended attribute

Add a file named 'suspended' to each device-mapper device directory in
sysfs.  It holds the value 1 while the device is suspended.  Otherwise
it holds 0.

Signed-off-by: Peter Rajnoha <prajnoha@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-sysfs.c