/* Copyright (C) 2008 Emmanuel Varoquaux
This file is part of XOS.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see . */
#include
int no_write(void *data, unsigned long leaf_id, unsigned long pos, const char *fs_buf, unsigned int count)
{
return -EACCES;
}
int no_create(void *data, unsigned long dir_id, const char *fs_basename)
{
return -EACCES;
}
int no_mkdir(void *data, unsigned long dir_id, const char *fs_basename)
{
return -EPERM;
}
int no_can_remove(void *data, unsigned long leaf_id)
{
return -EPERM;
}
int no_remove(void *data, unsigned long leaf_id, unsigned long parent_dir_id)
{
return -EPERM;
}
int no_rmdir(void *data, unsigned long dir_id, unsigned long parent_dir_id)
{
return -EPERM;
}
int no_rename(void *data, unsigned long old_id, unsigned long old_parent_dir_id, unsigned long new_dir_id, const char *fs_basename)
{
return -EPERM;
}