mirror of https://gitee.com/openkylin/linux.git
fs/9p: We need not writeback dirty pages during close
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
This commit is contained in:
parent
00ea2df43e
commit
62d810b424
|
@ -295,7 +295,6 @@ int v9fs_dir_release(struct inode *inode, struct file *filp)
|
|||
P9_DPRINTK(P9_DEBUG_VFS,
|
||||
"v9fs_dir_release: inode: %p filp: %p fid: %d\n",
|
||||
inode, filp, fid ? fid->fid : -1);
|
||||
filemap_write_and_wait(inode->i_mapping);
|
||||
if (fid)
|
||||
p9_client_clunk(fid);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue