Loading fs/nfs/nfs4proc.c +3 −1 Original line number Diff line number Diff line Loading @@ -4018,7 +4018,7 @@ static int _nfs4_discover_trunking(struct nfs_server *server, page = alloc_page(GFP_KERNEL); if (!page) return -ENOMEM; goto out_put_cred; locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL); if (!locations) goto out_free; Loading @@ -4040,6 +4040,8 @@ static int _nfs4_discover_trunking(struct nfs_server *server, kfree(locations); out_free: __free_page(page); out_put_cred: put_cred(cred); return status; } Loading Loading
fs/nfs/nfs4proc.c +3 −1 Original line number Diff line number Diff line Loading @@ -4018,7 +4018,7 @@ static int _nfs4_discover_trunking(struct nfs_server *server, page = alloc_page(GFP_KERNEL); if (!page) return -ENOMEM; goto out_put_cred; locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL); if (!locations) goto out_free; Loading @@ -4040,6 +4040,8 @@ static int _nfs4_discover_trunking(struct nfs_server *server, kfree(locations); out_free: __free_page(page); out_put_cred: put_cred(cred); return status; } Loading