Signed-off-by: Mark Fasheh <mfas...@suse.de>
---
 fs/efivarfs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/efivarfs/inode.c b/fs/efivarfs/inode.c
index 71fccccf317e..5e0de72476bf 100644
--- a/fs/efivarfs/inode.c
+++ b/fs/efivarfs/inode.c
@@ -92,7 +92,7 @@ static int efivarfs_create(struct inode *dir, struct dentry 
*dentry,
                                         dentry->d_name.name, namelen))
                is_removable = true;
 
-       inode = efivarfs_get_inode(dir->i_sb, dir, mode, 0, is_removable);
+       inode = efivarfs_get_inode(inode_sb(dir), dir, mode, 0, is_removable);
        if (!inode) {
                err = -ENOMEM;
                goto out;
-- 
2.15.1

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to