diff options
-rw-r--r-- | libnetfs/file-check-access.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libnetfs/file-check-access.c b/libnetfs/file-check-access.c index 183b0cd9..f9d16192 100644 --- a/libnetfs/file-check-access.c +++ b/libnetfs/file-check-access.c @@ -30,7 +30,6 @@ netfs_S_file_check_access (struct protid *user, return EOPNOTSUPP; mutex_lock (&user->po->np->lock); - *types = user->po->openstat & (O_WRITE|O_READ|O_EXEC); netfs_report_access (user->credential, user->po->np, types); mutex_unlock (&user->po->np->lock); return 0; |