From d229959072eba40e1c2a4f53f8af17f1e770eb66 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 18 May 2015 13:15:47 -0400 Subject: ext4 crypto: don't allocate a page when encrypting/decrypting file names Signed-off-by: Theodore Ts'o --- fs/ext4/symlink.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/ext4/symlink.c') diff --git a/fs/ext4/symlink.c b/fs/ext4/symlink.c index 187b78920314..ca65d45c7f8d 100644 --- a/fs/ext4/symlink.c +++ b/fs/ext4/symlink.c @@ -74,6 +74,7 @@ static void *ext4_follow_link(struct dentry *dentry, struct nameidata *nd) goto errout; } pstr.name = paddr; + pstr.len = plen; res = _ext4_fname_disk_to_usr(ctx, NULL, &cstr, &pstr); if (res < 0) goto errout; -- cgit v1.2.3