commit 3f45e57291cc381f98b6cd37391eb79ba9fba8c9
Author: Erez Zadok <[EMAIL PROTECTED]>
Date:   Fri Nov 30 17:32:14 2007 -0500

    Unionfs ODF: show the odf= option in show_mounts
    
    Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>

diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c
index 6b0fe56..bbf7060 100644
--- a/fs/unionfs/super.c
+++ b/fs/unionfs/super.c
@@ -974,6 +974,17 @@ static int unionfs_show_options(struct seq_file *m, struct 
vfsmount *mnt)
                goto out;
        }
 
+       /* show the odf= option */
+       path = d_path(UNIONFS_SB(sb)->odf.path.dentry,
+                     UNIONFS_SB(sb)->odf.path.mnt,
+                     tmp_page, PAGE_SIZE);
+       if (IS_ERR(path)) {
+               ret = PTR_ERR(path);
+               goto out;
+       }
+       seq_printf(m, ",odf=%s", path);
+
+       /* show dirs= option */
        bstart = sbstart(sb);
        bend = sbend(sb);
 
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to