Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291807
b: refs/heads/master
c: bf7014b
h: refs/heads/master
i:
  291805: a882ccf
  291803: 8d1868a
  291799: c88fabe
  291791: 337bc24
  291775: fb09de9
v: v3
  • Loading branch information
Cong Wang authored and Cong Wang committed Mar 20, 2012
1 parent 16a76e8 commit 0f0dcb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: da4aa36d0140ca8ef1e67df3e829b9085d369dca
refs/heads/master: bf7014b67fd931003e5f12e6742b1fc5f6c0a045
4 changes: 2 additions & 2 deletions trunk/fs/exofs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ int exofs_make_empty(struct inode *inode, struct inode *parent)
goto fail;
}

kaddr = kmap_atomic(page, KM_USER0);
kaddr = kmap_atomic(page);
de = (struct exofs_dir_entry *)kaddr;
de->name_len = 1;
de->rec_len = cpu_to_le16(EXOFS_DIR_REC_LEN(1));
Expand All @@ -611,7 +611,7 @@ int exofs_make_empty(struct inode *inode, struct inode *parent)
de->inode_no = cpu_to_le64(parent->i_ino);
memcpy(de->name, PARENT_DIR, sizeof(PARENT_DIR));
exofs_set_de_type(de, inode);
kunmap_atomic(kaddr, KM_USER0);
kunmap_atomic(kaddr);
err = exofs_commit_chunk(page, 0, chunk_size);
fail:
page_cache_release(page);
Expand Down

0 comments on commit 0f0dcb5

Please sign in to comment.