diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-29 12:23:28 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 14:13:05 -0400 |
commit | 0ecc833bac594099505a090cbca6ccd5b83d5975 (patch) | |
tree | 399f524f078636335aeb465f805eff6ed27137b1 /lib | |
parent | aee0c612b12f57f4923f6649fa6fcba618182261 (diff) | |
download | op-kernel-dev-0ecc833bac594099505a090cbca6ccd5b83d5975.zip op-kernel-dev-0ecc833bac594099505a090cbca6ccd5b83d5975.tar.gz |
mode_t, whack-a-mole at 11...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/notifier-error-inject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/notifier-error-inject.c b/lib/notifier-error-inject.c index 44b92cb..eb4a04a 100644 --- a/lib/notifier-error-inject.c +++ b/lib/notifier-error-inject.c @@ -17,7 +17,7 @@ static int debugfs_errno_get(void *data, u64 *val) DEFINE_SIMPLE_ATTRIBUTE(fops_errno, debugfs_errno_get, debugfs_errno_set, "%lld\n"); -static struct dentry *debugfs_create_errno(const char *name, mode_t mode, +static struct dentry *debugfs_create_errno(const char *name, umode_t mode, struct dentry *parent, int *value) { return debugfs_create_file(name, mode, parent, value, &fops_errno); @@ -50,7 +50,7 @@ struct dentry *notifier_err_inject_init(const char *name, struct dentry *parent, struct notifier_err_inject *err_inject, int priority) { struct notifier_err_inject_action *action; - mode_t mode = S_IFREG | S_IRUSR | S_IWUSR; + umode_t mode = S_IFREG | S_IRUSR | S_IWUSR; struct dentry *dir; struct dentry *actions_dir; |