From 0a192361debb0e19121bb89d6308e413b7cafb28 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 4 Mar 2017 08:16:46 -0600 Subject: [PATCH] Revert "FS: Fix backward conditional logic that prevent unlink() from building in some configurations." Oops. It was not backward. Enable == !Disable. Negative logic is confusing. This reverts commit 1fcf353e895bc98a2314046eaceb9e8d11a7f7b2. --- 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 c71bec1a0e..c5f958de57 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