Commit b8a105ff authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] hugetlbfs:update statfs

update hugetlbfs_statfs for the statfs64() changes.
parent 7872c516
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
#include <linux/quotaops.h> #include <linux/quotaops.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/dnotify.h> #include <linux/dnotify.h>
#include <linux/statfs.h>
#include <linux/security.h> #include <linux/security.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/statfs.h>
/* some random number */ /* some random number */
#define HUGETLBFS_MAGIC 0x958458f6 #define HUGETLBFS_MAGIC 0x958458f6
...@@ -498,7 +498,7 @@ int hugetlbfs_set_page_dirty(struct page *page) ...@@ -498,7 +498,7 @@ int hugetlbfs_set_page_dirty(struct page *page)
return 0; return 0;
} }
static int hugetlbfs_statfs(struct super_block *sb, struct statfs *buf) static int hugetlbfs_statfs(struct super_block *sb, struct kstatfs *buf)
{ {
struct hugetlbfs_sb_info *sbinfo = HUGETLBFS_SB(sb); struct hugetlbfs_sb_info *sbinfo = HUGETLBFS_SB(sb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment