Merge tag 'nfs-for-5.12-1' of git://git.linux-nfs.org/projects/anna/linux-nfs
[platform/kernel/linux-rpi.git] / fs / nfs / super.c
index c7a9245..94885c6 100644 (file)
@@ -523,6 +523,13 @@ static void nfs_show_mount_options(struct seq_file *m, struct nfs_server *nfss,
                seq_puts(m, ",local_lock=flock");
        else
                seq_puts(m, ",local_lock=posix");
+
+       if (nfss->flags & NFS_MOUNT_WRITE_EAGER) {
+               if (nfss->flags & NFS_MOUNT_WRITE_WAIT)
+                       seq_puts(m, ",write=wait");
+               else
+                       seq_puts(m, ",write=eager");
+       }
 }
 
 /*