2012-06-26 14:35:49

by Chen Baozi

[permalink] [raw]
Subject: [PATCH] xfs: Fix comment typo of xfs_open_devices()

Since "get_sb_bdev()" has been changed to "mount_bdev()", fix
the comment accordingly.

Signed-off-by: Chen Baozi <[email protected]>
---
fs/xfs/xfs_super.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 0d9de41..3cf4a5c 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -649,7 +649,7 @@ xfs_close_devices(
*
* We only have to handle opening the log and realtime volumes here if
* they are present. The data subvolume has already been opened by
- * get_sb_bdev() and is stored in sb->s_bdev.
+ * mount_bdev() and is stored in sb->s_bdev.
*/
STATIC int
xfs_open_devices(
--
1.7.1


2012-06-26 14:45:26

by Ben Myers

[permalink] [raw]
Subject: Re: [PATCH] xfs: Fix comment typo of xfs_open_devices()

On Tue, Jun 26, 2012 at 10:35:05PM +0800, Chen Baozi wrote:
> Since "get_sb_bdev()" has been changed to "mount_bdev()", fix
> the comment accordingly.
>
> Signed-off-by: Chen Baozi <[email protected]>

Looks good. Thanks Chen!
Reviewed-by: Ben Myers <[email protected]>