mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 11:45:53 -05:00
[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: Steven Whitehouse <[email protected]>
This commit is contained in:
parent
ccd6efd0cd
commit
0c0834a30c
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue