summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 23:14:32 +0800
committerCong Wang <xiyou.wangcong@gmail.com>2012-03-20 21:48:24 +0800
commit27a6d5c742ceff68b09396bb99cd6344afa85330 (patch)
treeec89fc51103b82fecd216492a13d08d611a900ef
parent50bc9b65b6e32f146c3c9812a9d62fe7ff518b5a (diff)
downloadlinux-27a6d5c742ceff68b09396bb99cd6344afa85330.tar.gz
linux-27a6d5c742ceff68b09396bb99cd6344afa85330.tar.bz2
linux-27a6d5c742ceff68b09396bb99cd6344afa85330.zip
minix: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
-rw-r--r--fs/minix/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/minix/dir.c b/fs/minix/dir.c
index 085a9262c692..685b2d981b87 100644
--- a/fs/minix/dir.c
+++ b/fs/minix/dir.c
@@ -335,7 +335,7 @@ int minix_make_empty(struct inode *inode, struct inode *dir)
goto fail;
}
- kaddr = kmap_atomic(page, KM_USER0);
+ kaddr = kmap_atomic(page);
memset(kaddr, 0, PAGE_CACHE_SIZE);
if (sbi->s_version == MINIX_V3) {
@@ -355,7 +355,7 @@ int minix_make_empty(struct inode *inode, struct inode *dir)
de->inode = dir->i_ino;
strcpy(de->name, "..");
}
- kunmap_atomic(kaddr, KM_USER0);
+ kunmap_atomic(kaddr);
err = dir_commit_chunk(page, 0, 2 * sbi->s_dirsize);
fail: