Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109217
b: refs/heads/master
c: 87ed1d6
h: refs/heads/master
i:
  109215: 196170d
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Aug 27, 2008
1 parent ea4a938 commit 761eeaa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 96c2a1137b9e00bcdbe3a95113ea8f42ca994f76
refs/heads/master: 87ed1d65fb536a0cd4e84874c0b038f953e448aa
3 changes: 2 additions & 1 deletion trunk/fs/cifs/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ architectures. Fix problems with preserving timestamps on copying open
files (e.g. "cp -a") to Windows servers. For mkdir and create honor setgid bit
on parent directory when server supports Unix Extensions but not POSIX
create. Update cifs.upcall version to handle new Kerberos sec flags
(this requires update of cifs.upcall program from Samba).
(this requires update of cifs.upcall program from Samba). Fix memory leak
on dns_upcall (resolving DFS referralls).

Version 1.53
------------
Expand Down
7 changes: 7 additions & 0 deletions trunk/fs/cifs/dns_resolve.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,18 @@ static int dns_resolver_instantiate(struct key *key, const void *data,
return rc;
}

static void
dns_resolver_destroy(struct key *key)
{
kfree(key->payload.data);
}

struct key_type key_type_dns_resolver = {
.name = "dns_resolver",
.def_datalen = sizeof(struct in_addr),
.describe = user_describe,
.instantiate = dns_resolver_instantiate,
.destroy = dns_resolver_destroy,
.match = user_match,
};

Expand Down

0 comments on commit 761eeaa

Please sign in to comment.