projects
/
unionfs-odf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
444771b
)
Unionfs ODF: show the odf= option in show_mounts
author
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 30 Nov 2007 22:32:14 +0000
(17:32 -0500)
committer
Rachita Kothiyal
<rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:25 +0000
(19:03 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/super.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/super.c
b/fs/unionfs/super.c
index 6b0fe56ea9d45dde99c476e0ca859c70234c4285..bbf7060996cb15b8038c0e0a1f06aeb352fe530b 100644
(file)
--- 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);