From 1fcf353e895bc98a2314046eaceb9e8d11a7f7b2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 4 Mar 2017 07:48:32 -0600 Subject: [PATCH] FS: Fix backward conditional logic that prevent unlink() from building in some configurations. --- fs/vfs/fs_unlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/vfs/fs_unlink.c b/fs/vfs/fs_unlink.c index c5f958de57c..c71bec1a0eb 100644 --- a/fs/vfs/fs_unlink.c +++ b/fs/vfs/fs_unlink.c @@ -59,7 +59,7 @@ #endif #undef FS_HAVE_PSEUDOFS_OPERATIONS -#if !defined(CONFIG_DISABLE_PSEUDOFS_OPERATIONS) && CONFIG_NFILE_STREAMS > 0 +#if defined(CONFIG_DISABLE_PSEUDOFS_OPERATIONS) && CONFIG_NFILE_STREAMS > 0 # define FS_HAVE_PSEUDOFS_OPERATIONS 1 #endif