xfs: Fix incorrect positive ENOMEM return
PATCH 1/1 xfs: Fix incorrect positive ENOMEM return
commit 5681ca40064f ("xfs: Remove icsb infrastructure") incorrectly added a positive error return value.
This value filters up through the return layers and should be negative as the other return values are in the same function.
Signed-off-by Joe Perches <[email protected]>
--- fs/xfs/xfs_super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/xfs/xfs_super.c +1 -1
@@ -1380,7 +1380,7 @@ xfs_init_percpu_counters( error =percpu_counter_init (&mp->m_icount,0 ,GFP_KERNEL );if (error) -return ENOMEM ; +return -ENOMEM ; error =percpu_counter_init (&mp->m_ifree,0 ,GFP_KERNEL );if (error)