* [patch] vfs: indent cleanup for fs/open.c
@ 2010-04-04 9:21
0 siblings, 0 replies; only message in thread
From: @ 2010-04-04 9:21 UTC (permalink / raw)
To: kernel-janitors
indent cleanup for fs/open.c
Signed-off-by: Peter Pan <wppan@redflag-linux.com>
---
fs/open.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/fs/open.c b/fs/open.c
index e17f544..fa27166 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -472,8 +472,7 @@ SYSCALL_DEFINE3(faccessat, int, dfd, const char
__user *, filename, int, mode)
if (override_cred->uid)
cap_clear(override_cred->cap_effective);
else
- override_cred->cap_effective - override_cred->cap_permitted;
+ override_cred->cap_effective = override_cred->cap_permitted;
}
old_cred = override_creds(override_cred);
--
1.6.2.2
Regards
--
潘卫平(Peter Pan)
Red Flag Software Co.,Ltd.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-04 9:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-04 9:21 [patch] vfs: indent cleanup for fs/open.c
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.