提交 0c0834a3 编写于 作者: S Steven Whitehouse

[GFS2] API change for gfs2_statfs

The kernel API for super_operations->statfs() has changed
so this updates GFS2 to the new API.
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 ccd6efd0
......@@ -202,8 +202,9 @@ static void gfs2_unlockfs(struct super_block *sb)
* Returns: 0 on success or error code
*/
static int gfs2_statfs(struct super_block *sb, struct kstatfs *buf)
static int gfs2_statfs(struct dentry *dentry, struct kstatfs *buf)
{
struct super_block *sb = dentry->d_inode->i_sb;
struct gfs2_sbd *sdp = sb->s_fs_info;
struct gfs2_statfs_change sc;
int error;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册