]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - fs/proc_namespace.c
HID: hid-sensor-hub: Return error for hid_set_field() failure
[mirror_ubuntu-hirsute-kernel.git] / fs / proc_namespace.c
index 3059a9394c2d6d6b3c40849ce68b34a9e00d9b88..eafb75755fa37119ab88a1d24e688680628c08e9 100644 (file)
@@ -70,6 +70,7 @@ static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt)
                { MNT_NOATIME, ",noatime" },
                { MNT_NODIRATIME, ",nodiratime" },
                { MNT_RELATIME, ",relatime" },
+               { MNT_NOSYMFOLLOW, ",nosymfollow" },
                { 0, NULL }
        };
        const struct proc_fs_opts *fs_infop;
@@ -319,7 +320,8 @@ static int mountstats_open(struct inode *inode, struct file *file)
 
 const struct file_operations proc_mounts_operations = {
        .open           = mounts_open,
-       .read           = seq_read,
+       .read_iter      = seq_read_iter,
+       .splice_read    = generic_file_splice_read,
        .llseek         = seq_lseek,
        .release        = mounts_release,
        .poll           = mounts_poll,
@@ -327,7 +329,8 @@ const struct file_operations proc_mounts_operations = {
 
 const struct file_operations proc_mountinfo_operations = {
        .open           = mountinfo_open,
-       .read           = seq_read,
+       .read_iter      = seq_read_iter,
+       .splice_read    = generic_file_splice_read,
        .llseek         = seq_lseek,
        .release        = mounts_release,
        .poll           = mounts_poll,
@@ -335,7 +338,8 @@ const struct file_operations proc_mountinfo_operations = {
 
 const struct file_operations proc_mountstats_operations = {
        .open           = mountstats_open,
-       .read           = seq_read,
+       .read_iter      = seq_read_iter,
+       .splice_read    = generic_file_splice_read,
        .llseek         = seq_lseek,
        .release        = mounts_release,
 };