فهرست منبع

hostfs: Report append flag in ->show_options()

hostfs has an "append" mount option. Report it.

Signed-off-by: Richard Weinberger <richard@nod.at>
Richard Weinberger 10 سال پیش
والد
کامیت
7f74a66879
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      fs/hostfs/hostfs_kern.c

+ 3 - 0
fs/hostfs/hostfs_kern.c

@@ -262,6 +262,9 @@ static int hostfs_show_options(struct seq_file *seq, struct dentry *root)
 	if (strlen(root_path) > offset)
 		seq_printf(seq, ",%s", root_path + offset);
 
+	if (append)
+		seq_puts(seq, ",append");
+
 	return 0;
 }