Skip to contentSkip to conversation

Fix comment that describes functionality of inode_dio_begin()

PATCH New Chandan Rajendra 1 participant 1 message Jan 12, 2016 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix comment that describes functionality of inode_dio_begin()

The description of inode_dio_begin() is incorrect. This commit provides the right description.

---
 include/linux/fs.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/fs.h +1 -2
index ef3cd36..cd9ef98 100644
@@ -2706,8 +2706,7 @@ void inode_dio_wait(struct inode *inode);
  * inode_dio_begin - signal start of a direct I/O requests
  * @inode: inode the direct I/O happens on
  *
- * This is called once we've finished processing a direct I/O request,
- * and is used to wake up callers waiting for direct I/O to be quiesced.
+ * This is called just before starting to service a direct I/O request.
  */
 static inline void inode_dio_begin(struct inode *inode)
 {
Signature · 1 line
2.1.0