[Suspend2][ 05/13] [Suspend2] Get storage manager space needed in image header.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Get the amount of space in the image header needed by the storage manager.

Signed-off-by: Nigel Cunningham <[email protected]>

 kernel/power/storage.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/kernel/power/storage.c b/kernel/power/storage.c
index c007a8e..5fdcadd 100644
--- a/kernel/power/storage.c
+++ b/kernel/power/storage.c
@@ -148,3 +148,9 @@ static void storage_manager_simulate(voi
 	printk("--- Storage manager simulate ends ---\n");
 }
 #endif
+
+static unsigned long usm_storage_needed(void)
+{
+	return strlen(usm_helper_data.program);
+}
+

--
Nigel Cunningham		nigel at suspend2 dot net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux