]> Git Repo - linux.git/commit - fs/namei.c
[PATCH] r/o bind mounts: prepare for write access checks: collapse if()
authorDave Hansen <[email protected]>
Sun, 1 Oct 2006 06:29:01 +0000 (23:29 -0700)
committerLinus Torvalds <[email protected]>
Sun, 1 Oct 2006 07:39:30 +0000 (00:39 -0700)
commit6902d925d568cd5bfda8a1a328bf08d26d1bab46
tree02f3cc489d0e47fb688587222d1793bd9298679b
parentdb5fed26b2e0beed939b773dd5896077a1794d65
[PATCH] r/o bind mounts: prepare for write access checks: collapse if()

We're shortly going to be adding a bunch more permission checks in these
functions.  That requires adding either a bunch of new if() conditions, or
some gotos.  This patch collapses existing if()s and uses gotos instead to
prepare for the upcoming changes.

Signed-off-by: Dave Hansen <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/namei.c
fs/open.c
This page took 0.047498 seconds and 4 git commands to generate.