Re: [PATCH] debugfs: Return -EPERM when locked down

From: Matthew Wilcox
Date: Fri Dec 06 2019 - 18:43:32 EST


On Fri, Dec 06, 2019 at 05:59:09PM -0500, Eric Snowberg wrote:
> -static bool debugfs_is_locked_down(struct inode *inode,
> +static int debugfs_is_locked_down(struct inode *inode,

I might rename this function to debugfs_locked_down() to make it sound
less like it returns a boolean.

Other than that,

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>