diff options
author | Mark Brown <broonie@kernel.org> | 2014-09-18 10:49:28 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-18 10:49:28 -0700 |
commit | d831fd1b46d04e5c8c8a0431c321578d25852695 (patch) | |
tree | 53a685712d0f0debe66de80c1f0a5e545d0de7e2 /fs/cifs/smb2ops.c | |
parent | c95c4e2a6bb8d44f9a8f59eadd99a9a615c53112 (diff) | |
parent | 339f8f37f0203884332585e38c06536c8477d475 (diff) |
Merge tag 'v3.10.55' into linux-linaro-lsklsk-v3.10-14.09
This is the 3.10.55 stable release
Diffstat (limited to 'fs/cifs/smb2ops.c')
-rw-r--r-- | fs/cifs/smb2ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c index e2756bb40b4d..fe7ac989c6c4 100644 --- a/fs/cifs/smb2ops.c +++ b/fs/cifs/smb2ops.c @@ -243,7 +243,7 @@ smb2_query_file_info(const unsigned int xid, struct cifs_tcon *tcon, int rc; struct smb2_file_all_info *smb2_data; - smb2_data = kzalloc(sizeof(struct smb2_file_all_info) + MAX_NAME * 2, + smb2_data = kzalloc(sizeof(struct smb2_file_all_info) + PATH_MAX * 2, GFP_KERNEL); if (smb2_data == NULL) return -ENOMEM; |