[PATCH 1/1 linux-next] fs/logfs/dir.c: replace obsolete .get_sb() reference

From: Fabian Frederick
Date: Mon Feb 23 2015 - 13:07:41 EST


.get_sb was removed in commit a1da9e8ab687
("switch logfs to ->mount()")

Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---
fs/logfs/dir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/logfs/dir.c b/fs/logfs/dir.c
index 6bdc347..74418f2 100644
--- a/fs/logfs/dir.c
+++ b/fs/logfs/dir.c
@@ -725,7 +725,7 @@ static int logfs_rename(struct inode *old_dir, struct dentry *old_dentry,
return logfs_rename_cross(old_dir, old_dentry, new_dir, new_dentry);
}

-/* No locking done here, as this is called before .get_sb() returns. */
+/* No locking done here, as this is called before .mount() returns. */
int logfs_replay_journal(struct super_block *sb)
{
struct logfs_super *super = logfs_super(sb);
--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/