summaryrefslogtreecommitdiffstats
path: root/mm/frontswap.c
diff options
context:
space:
mode:
authorWanpeng Li2012-06-16 14:37:48 +0200
committerKonrad Rzeszutek Wilk2012-07-23 17:16:20 +0200
commit1d00015e268f9142de0b504b3e4a4905155276f2 (patch)
treede74efa0ef221596c3da933b0ad3ac3a5f5e2179 /mm/frontswap.c
parentmm: frontswap: remove unneeded headers (diff)
downloadkernel-qcow2-linux-1d00015e268f9142de0b504b3e4a4905155276f2.tar.gz
kernel-qcow2-linux-1d00015e268f9142de0b504b3e4a4905155276f2.tar.xz
kernel-qcow2-linux-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)