Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210642
b: refs/heads/master
c: 62726a7
h: refs/heads/master
v: v3
  • Loading branch information
jvrao authored and Eric Van Hensbergen committed Sep 13, 2010
1 parent 37df858 commit 7600134
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 5c25f347a7b00b2ebe0a55c4a3cfe4c3e1e8725e
refs/heads/master: 62726a7ab3a6a3624256172af055ff0a38c6ffa2
6 changes: 4 additions & 2 deletions trunk/fs/9p/vfs_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,11 @@ int v9fs_dir_release(struct inode *inode, struct file *filp)

fid = filp->private_data;
P9_DPRINTK(P9_DEBUG_VFS,
"inode: %p filp: %p fid: %d\n", inode, filp, fid->fid);
"v9fs_dir_release: inode: %p filp: %p fid: %d\n",
inode, filp, fid ? fid->fid : -1);
filemap_write_and_wait(inode->i_mapping);
p9_client_clunk(fid);
if (fid)
p9_client_clunk(fid);
return 0;
}

Expand Down

0 comments on commit 7600134

Please sign in to comment.