From: Erez Zadok Date: Fri, 30 Nov 2007 22:32:14 +0000 (-0500) Subject: Unionfs ODF: show the odf= option in show_mounts X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=41bd6b381cc0efa00e6f085d91d476d97f7e5f07;p=unionfs-odf.git Unionfs ODF: show the odf= option in show_mounts Signed-off-by: Erez Zadok --- diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index 6b0fe56ea9..bbf7060996 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);