Skip to contentSkip to conversation

what is g_f_a_w_n() short for? thanks

Ocfs2-devel Eric Ren 1 participant 1 message Nov 7, 2016 OCFS2

lore
Share & tools
lore

Eric Ren

author
#0 lore raw

Hello Mark,

There is a piece of comment that confused me, please correct me:

https://github.com/torvalds/linux/blob/master/fs/ocfs2/file.c#L2274

```
ocfs2_file_write_iter() {
...
  /*
          * deep in g_f_a_w_n()->ocfs2_direct_IO we pass in a ocfs2_dio_end_io
          * function pointer which is called when o_direct io completes so that
          * it can unlock our rw lock.
...
}
```

Should g_f_a_w_n() be g_f_a_w_i() instead? Because grep only hits (__)generic_file_write_iter() by pattern.

Thanks,
Eric

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20161107/60bb44c9/attachment.html