gfs2: fs: derive f_fsid from s_uuid
[linux-2.6-microblaze.git] / fs / gfs2 / super.c
index 4dad30d..726f062 100644 (file)
@@ -1006,6 +1006,7 @@ static int gfs2_statfs(struct dentry *dentry, struct kstatfs *buf)
        buf->f_files = sc.sc_dinodes + sc.sc_free;
        buf->f_ffree = sc.sc_free;
        buf->f_namelen = GFS2_FNAMESIZE;
+       buf->f_fsid = uuid_to_fsid(sb->s_uuid.b);
 
        return 0;
 }