Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300207
b: refs/heads/master
c: 38bf195
h: refs/heads/master
i:
  300205: c94d193
  300203: 564fd66
  300199: e452a7a
  300191: 8bbc878
v: v3
  • Loading branch information
Eric W. Biederman authored and David S. Miller committed May 11, 2012
1 parent 1fca5fd commit ac46d38
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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: e0268868ba064980488fc8c194db3d8e9fb2959c
refs/heads/master: 38bf1953987c1735f3c9140fca762949a8cae507
2 changes: 1 addition & 1 deletion trunk/drivers/block/drbd/drbd_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -2297,7 +2297,7 @@ static void drbd_connector_callback(struct cn_msg *req, struct netlink_skb_parms
return;
}

if (!cap_raised(current_cap(), CAP_SYS_ADMIN)) {
if (!capable(CAP_SYS_ADMIN)) {
retcode = ERR_PERM;
goto fail;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/md/dm-log-userspace-transfer.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static void cn_ulog_callback(struct cn_msg *msg, struct netlink_skb_parms *nsp)
{
struct dm_ulog_request *tfr = (struct dm_ulog_request *)(msg + 1);

if (!cap_raised(current_cap(), CAP_SYS_ADMIN))
if (!capable(CAP_SYS_ADMIN))
return;

spin_lock(&receiving_list_lock);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/uvesafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static void uvesafb_cn_callback(struct cn_msg *msg, struct netlink_skb_parms *ns
struct uvesafb_task *utask;
struct uvesafb_ktask *task;

if (!cap_raised(current_cap(), CAP_SYS_ADMIN))
if (!capable(CAP_SYS_ADMIN))
return;

if (msg->seq >= UVESAFB_TASKS_MAX)
Expand Down

0 comments on commit ac46d38

Please sign in to comment.