diff options
Diffstat (limited to 'libnetfs/io-readable.c')
-rw-r--r-- | libnetfs/io-readable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/io-readable.c b/libnetfs/io-readable.c index c02f7429..a21e3426 100644 --- a/libnetfs/io-readable.c +++ b/libnetfs/io-readable.c @@ -35,7 +35,7 @@ netfs_S_io_readable (struct protid *user, return EINVAL; mutex_lock (&user->po->np->lock); - err = netfs_validate_stat (user->po->np, user); + err = netfs_validate_stat (user->po->np, user->credential); if (!err) { if (user->po->np->nn_stat.st_size > user->po->filepointer) |