Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188845
b: refs/heads/master
c: 99b437a
h: refs/heads/master
i:
  188843: f7eb19c
v: v3
  • Loading branch information
Dan Carpenter authored and Linus Torvalds committed Mar 22, 2010
1 parent 448f629 commit b84d0b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 45575f5a426c01ec68cd33d998267ba2f6278fac
refs/heads/master: 99b437a9257cb6b267bf32adfb7675948dc6d485
5 changes: 3 additions & 2 deletions trunk/fs/afs/security.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ void afs_cache_permit(struct afs_vnode *vnode, struct key *key, long acl_order)
if (!permits)
goto out_unlock;

memcpy(permits->permits, xpermits->permits,
count * sizeof(struct afs_permit));
if (xpermits)
memcpy(permits->permits, xpermits->permits,
count * sizeof(struct afs_permit));

_debug("key %x access %x",
key_serial(key), vnode->status.caller_access);
Expand Down

0 comments on commit b84d0b5

Please sign in to comment.