Displaying 1 result from an estimated 1 matches for "f570a24".
Did you mean:
57024
2009 Jun 10
1
[PATCH] ocfs2: Prevent mount with "-o acl" if acl isn't supported.
...tries to prevent the user from
mounting the volume.
Cc: Tiger Yang <tiger.yang at oracle.com>
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
fs/ocfs2/super.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 035af49..f570a24 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -1206,7 +1206,8 @@ static int ocfs2_parse_options(struct super_block *sb,
case Opt_acl:
case Opt_noacl:
printk(KERN_INFO "ocfs2 (no)acl options not supported\n");
- break;
+ status = 0;
+ goto bail;
#endif
default...