summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorgiana Rodica Chelu <georgiana.chelu93@gmail.com>2014-03-18 23:12:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-19 09:04:30 -0700
commita95cdab3cee551af309a7c8042912531c0a2a956 (patch)
tree9ca106e2b73d1d1d141331748fee37703848e283
parent9137c9df5ebf4aa035104eee9553a89247287b53 (diff)
downloadlinux-a95cdab3cee551af309a7c8042912531c0a2a956.tar.bz2
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 <georgiana.chelu93@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c2
1 files changed, 2 insertions, 0 deletions
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);