projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50bc9b6
)
minix: remove the second argument of k[un]map_atomic()
author
Cong Wang
<amwang@redhat.com>
Fri, 25 Nov 2011 15:14:32 +0000
(23:14 +0800)
committer
Cong Wang
<xiyou.wangcong@gmail.com>
Tue, 20 Mar 2012 13:48:24 +0000
(21:48 +0800)
Signed-off-by: Cong Wang <amwang@redhat.com>
fs/minix/dir.c
patch
|
blob
|
history
diff --git
a/fs/minix/dir.c
b/fs/minix/dir.c
index 085a9262c6926466a397cff2b643375c0cf18084..685b2d981b8709b31461d2fc4e6cdb8b044f6df2 100644
(file)
--- 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: