diff mbox series

zram03: drop obsolete sysfs interfaces

Message ID 1527095646-77998-1-git-send-email-yang.shi@linux.alibaba.com
State Superseded
Delegated to: Petr Vorel
Headers show
Series zram03: drop obsolete sysfs interfaces | expand

Commit Message

Yang Shi May 23, 2018, 5:14 p.m. UTC
Due to upstream linux commit c87d1655c29500b459fb135258a93f8309ada9c7
("zram: remove obsolete sysfs attrs"), some sysfs interfaces are not
available anymore. Remove dumping them to avoid test case failure.

Signed-off-by: Yang Shi <yang.shi@linux.alibaba.com>
---
 testcases/kernel/device-drivers/zram/zram03.c | 6 ------
 1 file changed, 6 deletions(-)

Comments

Sergey Senozhatsky May 28, 2018, 6:38 a.m. UTC | #1
>  testcases/kernel/device-drivers/zram/zram03.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/testcases/kernel/device-drivers/zram/zram03.c b/testcases/kernel/device-drivers/zram/zram03.c
> index 3f7ab4e..f2c166c 100644
> --- a/testcases/kernel/device-drivers/zram/zram03.c
> +++ b/testcases/kernel/device-drivers/zram/zram03.c
> @@ -185,11 +185,5 @@ static void print(char *string)
>  static void dump_info(void)
>  {
>  	print("initstate");
> -	print("compr_data_size");
> -	print("orig_data_size");
>  	print("disksize");
> -	print("mem_used_total");
> -	print("num_reads");
> -	print("num_writes");
> -	print("zero_pages");
>  }

Is this against the Linux kernel code or some 3-rd party code?

	-ss
Yang Shi May 30, 2018, 12:22 a.m. UTC | #2
On 5/27/18 11:38 PM, Sergey Senozhatsky wrote:
>>   testcases/kernel/device-drivers/zram/zram03.c | 6 ------
>>   1 file changed, 6 deletions(-)
>>
>> diff --git a/testcases/kernel/device-drivers/zram/zram03.c b/testcases/kernel/device-drivers/zram/zram03.c
>> index 3f7ab4e..f2c166c 100644
>> --- a/testcases/kernel/device-drivers/zram/zram03.c
>> +++ b/testcases/kernel/device-drivers/zram/zram03.c
>> @@ -185,11 +185,5 @@ static void print(char *string)
>>   static void dump_info(void)
>>   {
>>   	print("initstate");
>> -	print("compr_data_size");
>> -	print("orig_data_size");
>>   	print("disksize");
>> -	print("mem_used_total");
>> -	print("num_reads");
>> -	print("num_writes");
>> -	print("zero_pages");
>>   }
> Is this against the Linux kernel code or some 3-rd party code?

zram03 is a LTP test case.

Yang

>
> 	-ss
diff mbox series

Patch

diff --git a/testcases/kernel/device-drivers/zram/zram03.c b/testcases/kernel/device-drivers/zram/zram03.c
index 3f7ab4e..f2c166c 100644
--- a/testcases/kernel/device-drivers/zram/zram03.c
+++ b/testcases/kernel/device-drivers/zram/zram03.c
@@ -185,11 +185,5 @@  static void print(char *string)
 static void dump_info(void)
 {
 	print("initstate");
-	print("compr_data_size");
-	print("orig_data_size");
 	print("disksize");
-	print("mem_used_total");
-	print("num_reads");
-	print("num_writes");
-	print("zero_pages");
 }