From 84cd7204799dc6dd94669cbd558f91b1ca899e93 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 15 Apr 2016 07:03:28 -0600 Subject: [PATCH] FTL: Make it clear the the unlink method has not been implemented --- drivers/mtd/ftl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index 6ed8529ac3..b18767f013 100644 --- a/drivers/mtd/ftl.c +++ b/drivers/mtd/ftl.c @@ -1,7 +1,7 @@ /**************************************************************************** * drivers/mtd/ftl.c * - * Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2011-2012, 2016 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -115,6 +115,9 @@ static const struct block_operations g_bops = #endif ftl_geometry, /* geometry */ ftl_ioctl /* ioctl */ +#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS + , 0 /* unlink */ +#endif }; /****************************************************************************