diff mbox

Fix comment that describes functionality of inode_dio_begin()

Message ID 1452611923-17560-1-git-send-email-chandan@linux.vnet.ibm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Chandan Rajendra Jan. 12, 2016, 3:18 p.m. UTC
The description of inode_dio_begin() is incorrect. This commit provides
the right description.

Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
---
 include/linux/fs.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox

Patch

diff --git a/include/linux/fs.h b/include/linux/fs.h
index ef3cd36..cd9ef98 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -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)
 {