From: Michael Halcrow Signed-off-by: Michael Halcrow Signed-off-by: Andrew Morton --- fs/ecryptfs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN fs/ecryptfs/super.c~ecryptfs-superblock-operations-ecryptfs_statfs-api-change fs/ecryptfs/super.c --- a/fs/ecryptfs/super.c~ecryptfs-superblock-operations-ecryptfs_statfs-api-change +++ a/fs/ecryptfs/super.c @@ -124,9 +124,9 @@ static void ecryptfs_put_super(struct su * Get the filesystem statistics. Currently, we let this pass right through * to the lower filesystem and take no action ourselves. */ -static inline int ecryptfs_statfs(struct super_block *sb, struct kstatfs *buf) +static inline int ecryptfs_statfs(struct dentry *dentry, struct kstatfs *buf) { - return vfs_statfs(ecryptfs_superblock_to_lower(sb), buf); + return vfs_statfs(ecryptfs_dentry_to_lower(dentry), buf); } /** _