Commit 145b74a2 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: fix dnotify bug in do_readv_writev32

parent f9e58669
......@@ -231,7 +231,7 @@ static long do_readv_writev32(int type, struct file *file,
kfree(iov);
if ((retval + (type == READ)) > 0)
dnotify_parent(file->f_dentry,
(type == READ) ? DN_MODIFY : DN_ACCESS);
(type == READ) ? DN_ACCESS : DN_MODIFY);
return retval;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment