Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* Returns: 0 on success else error
*/
static int match_mnt(struct aa_profile *profile, const struct path *path,
* Returns: 0 on success else error
*/
static int match_mnt(struct aa_profile *profile, const struct path *path,
- char *buffer, struct path *devpath, char *devbuffer,
+ char *buffer, const struct path *devpath, char *devbuffer,
const char *type, unsigned long flags, void *data,
bool binary)
{
const char *type, unsigned long flags, void *data,
bool binary)
{
-static int profile_umount(struct aa_profile *profile, struct path *path,
+static int profile_umount(struct aa_profile *profile, const struct path *path,
char *buffer)
{
struct aa_perms perms = { };
char *buffer)
{
struct aa_perms perms = { };