summaryrefslogtreecommitdiff
path: root/mm/frontswap.c
diff options
context:
space:
mode:
authorWanpeng Li <liwp@linux.vnet.ibm.com>2012-06-16 20:37:48 +0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-07-23 11:16:20 -0400
commit1d00015e268f9142de0b504b3e4a4905155276f2 (patch)
treede74efa0ef221596c3da933b0ad3ac3a5f5e2179 /mm/frontswap.c
parent3389b530a67e8aed049a213f751b29023bd9fcce (diff)
downloadlwn-1d00015e268f9142de0b504b3e4a4905155276f2.tar.gz
lwn-1d00015e268f9142de0b504b3e4a4905155276f2.zip
mm/frontswap: cleanup doc and comment error
Signed-off-by: Wanpeng Li <liwp.linux@gmail.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'mm/frontswap.c')
-rw-r--r--mm/frontswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/frontswap.c b/mm/frontswap.c
index 5318b3a57080..6b3e71a2cd48 100644
--- a/mm/frontswap.c
+++ b/mm/frontswap.c
@@ -120,7 +120,7 @@ static inline void __frontswap_clear(struct swap_info_struct *sis, pgoff_t offse
* "Store" data from a page to frontswap and associate it with the page's
* swaptype and offset. Page must be locked and in the swap cache.
* If frontswap already contains a page with matching swaptype and
- * offset, the frontswap implmentation may either overwrite the data and
+ * offset, the frontswap implementation may either overwrite the data and
* return success or invalidate the page from frontswap and return failure.
*/
int __frontswap_store(struct page *page)