Merge branch 'master'
This commit is contained in:
@@ -72,9 +72,9 @@ extern void configfs_release_fs(void);
|
||||
|
||||
extern struct rw_semaphore configfs_rename_sem;
|
||||
extern struct super_block * configfs_sb;
|
||||
extern struct file_operations configfs_dir_operations;
|
||||
extern struct file_operations configfs_file_operations;
|
||||
extern struct file_operations bin_fops;
|
||||
extern const struct file_operations configfs_dir_operations;
|
||||
extern const struct file_operations configfs_file_operations;
|
||||
extern const struct file_operations bin_fops;
|
||||
extern struct inode_operations configfs_dir_inode_operations;
|
||||
extern struct inode_operations configfs_symlink_inode_operations;
|
||||
|
||||
|
@@ -1027,7 +1027,7 @@ static loff_t configfs_dir_lseek(struct file * file, loff_t offset, int origin)
|
||||
return offset;
|
||||
}
|
||||
|
||||
struct file_operations configfs_dir_operations = {
|
||||
const struct file_operations configfs_dir_operations = {
|
||||
.open = configfs_dir_open,
|
||||
.release = configfs_dir_close,
|
||||
.llseek = configfs_dir_lseek,
|
||||
|
@@ -322,7 +322,7 @@ static int configfs_release(struct inode * inode, struct file * filp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct file_operations configfs_file_operations = {
|
||||
const struct file_operations configfs_file_operations = {
|
||||
.read = configfs_read_file,
|
||||
.write = configfs_write_file,
|
||||
.llseek = generic_file_llseek,
|
||||
|
Reference in New Issue
Block a user