[PATCH] Staging: zcache-main: Fixed Camel Case Issue

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

 



Fixed a camel case coding style issue.

Signed-off-by: Jake Champlin <jake.champlin.27@xxxxxxxxx>
---
 drivers/staging/zcache/zcache-main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c
index 52b43b7..95be348 100644
--- a/drivers/staging/zcache/zcache-main.c
+++ b/drivers/staging/zcache/zcache-main.c
@@ -1851,7 +1851,7 @@ static int zcache_frontswap_store(unsigned type, pgoff_t offset,
 	int ret = -1;
 	unsigned long flags;
 
-	BUG_ON(!PageLocked(page));
+	BUG_ON(!page_locked(page));
 	if (likely(ind64 == ind)) {
 		local_irq_save(flags);
 		ret = zcache_put_page(LOCAL_CLIENT, zcache_frontswap_poolid,
@@ -1871,7 +1871,7 @@ static int zcache_frontswap_load(unsigned type, pgoff_t offset,
 	struct tmem_oid oid = oswiz(type, ind);
 	int ret = -1;
 
-	BUG_ON(!PageLocked(page));
+	BUG_ON(!page_locked(page));
 	if (likely(ind64 == ind))
 		ret = zcache_get_page(LOCAL_CLIENT, zcache_frontswap_poolid,
 					&oid, iswiz(ind), page);
-- 
1.8.1.1


-- 
Jake Champlin
jake.champlin.27@xxxxxxxxx
8123742937
<MuttClient>
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux