From a95cdab3cee551af309a7c8042912531c0a2a956 Mon Sep 17 00:00:00 2001 From: Georgiana Rodica Chelu Date: Tue, 18 Mar 2014 23:12:38 +0200 Subject: [PATCH] staging: lustre: add an extra line Add an extra line break between the variable declaration and the rest of the code Signed-off-by: Georgiana Rodica Chelu Acked-by: Paul E. McKenney Signed-off-by: Greg Kroah-Hartman --- drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c b/drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c index 77e10384c0d0..e74c3e28a972 100644 --- a/drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c +++ b/drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c @@ -58,6 +58,7 @@ void cfs_cap_raise(cfs_cap_t cap) { struct cred *cred; + cred = prepare_creds(); if (cred) { cap_raise(cred->cap_effective, cap); @@ -68,6 +69,7 @@ void cfs_cap_raise(cfs_cap_t cap) void cfs_cap_lower(cfs_cap_t cap) { struct cred *cred; + cred = prepare_creds(); if (cred) { cap_lower(cred->cap_effective, cap); -- 2.39.5