switch debugfs to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@ -402,7 +402,7 @@ static int blk_remove_buf_file_callback(struct dentry *dentry)
|
||||
|
||||
static struct dentry *blk_create_buf_file_callback(const char *filename,
|
||||
struct dentry *parent,
|
||||
int mode,
|
||||
umode_t mode,
|
||||
struct rchan_buf *buf,
|
||||
int *is_global)
|
||||
{
|
||||
|
@ -4385,7 +4385,7 @@ static const struct file_operations trace_options_core_fops = {
|
||||
};
|
||||
|
||||
struct dentry *trace_create_file(const char *name,
|
||||
mode_t mode,
|
||||
umode_t mode,
|
||||
struct dentry *parent,
|
||||
void *data,
|
||||
const struct file_operations *fops)
|
||||
|
@ -312,7 +312,7 @@ void tracing_reset_current(int cpu);
|
||||
void tracing_reset_current_online_cpus(void);
|
||||
int tracing_open_generic(struct inode *inode, struct file *filp);
|
||||
struct dentry *trace_create_file(const char *name,
|
||||
mode_t mode,
|
||||
umode_t mode,
|
||||
struct dentry *parent,
|
||||
void *data,
|
||||
const struct file_operations *fops);
|
||||
|
Reference in New Issue
Block a user