aboutsummaryrefslogtreecommitdiff
path: root/libnetfs/io-revoke.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/io-revoke.c')
-rw-r--r--libnetfs/io-revoke.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libnetfs/io-revoke.c b/libnetfs/io-revoke.c
index a5e27802..5b32622a 100644
--- a/libnetfs/io-revoke.c
+++ b/libnetfs/io-revoke.c
@@ -26,17 +26,16 @@ netfs_S_io_revoke (struct protid *cred)
error_t err;
struct node *np;
- error_t
- iterator_function (void *port)
+ error_t iterator_function (void *port)
{
struct protid *user = port;
-
+
if ((user != cred)
&& (user->po->np == np))
ports_destroy_right (user);
return 0;
}
-
+
if (!cred)
return EOPNOTSUPP;