super.c (fb5cbe9efd741b16e72133613747f76490bbecd3) | super.c (e6aabe0cac14a495d42f629a803c5e221089bae8) |
---|---|
1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * super.c 5 * 6 * load/unload driver, mount/dismount volumes 7 * 8 * Copyright (C) 2002, 2004 Oracle. All rights reserved. --- 1399 unchanged lines hidden (view full) --- 1408 OCFS2_FEATURE_RO_COMPAT_GRPQUOTA)) { 1409 mlog(ML_ERROR, "Group quota requested but " 1410 "filesystem feature is not set\n"); 1411 status = 0; 1412 goto bail; 1413 } 1414 mopt->mount_opt |= OCFS2_MOUNT_GRPQUOTA; 1415 break; | 1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * super.c 5 * 6 * load/unload driver, mount/dismount volumes 7 * 8 * Copyright (C) 2002, 2004 Oracle. All rights reserved. --- 1399 unchanged lines hidden (view full) --- 1408 OCFS2_FEATURE_RO_COMPAT_GRPQUOTA)) { 1409 mlog(ML_ERROR, "Group quota requested but " 1410 "filesystem feature is not set\n"); 1411 status = 0; 1412 goto bail; 1413 } 1414 mopt->mount_opt |= OCFS2_MOUNT_GRPQUOTA; 1415 break; |
1416#ifdef CONFIG_OCFS2_FS_POSIX_ACL | |
1417 case Opt_acl: 1418 mopt->mount_opt |= OCFS2_MOUNT_POSIX_ACL; 1419 break; 1420 case Opt_noacl: 1421 mopt->mount_opt &= ~OCFS2_MOUNT_POSIX_ACL; 1422 break; | 1416 case Opt_acl: 1417 mopt->mount_opt |= OCFS2_MOUNT_POSIX_ACL; 1418 break; 1419 case Opt_noacl: 1420 mopt->mount_opt &= ~OCFS2_MOUNT_POSIX_ACL; 1421 break; |
1423#else 1424 case Opt_acl: 1425 case Opt_noacl: 1426 printk(KERN_INFO "ocfs2 (no)acl options not supported\n"); 1427 break; 1428#endif | |
1429 default: 1430 mlog(ML_ERROR, 1431 "Unrecognized mount option \"%s\" " 1432 "or missing value\n", p); 1433 status = 0; 1434 goto bail; 1435 } 1436 } --- 60 unchanged lines hidden (view full) --- 1497 if (opts & OCFS2_MOUNT_NOUSERXATTR) 1498 seq_printf(s, ",nouser_xattr"); 1499 else 1500 seq_printf(s, ",user_xattr"); 1501 1502 if (opts & OCFS2_MOUNT_INODE64) 1503 seq_printf(s, ",inode64"); 1504 | 1422 default: 1423 mlog(ML_ERROR, 1424 "Unrecognized mount option \"%s\" " 1425 "or missing value\n", p); 1426 status = 0; 1427 goto bail; 1428 } 1429 } --- 60 unchanged lines hidden (view full) --- 1490 if (opts & OCFS2_MOUNT_NOUSERXATTR) 1491 seq_printf(s, ",nouser_xattr"); 1492 else 1493 seq_printf(s, ",user_xattr"); 1494 1495 if (opts & OCFS2_MOUNT_INODE64) 1496 seq_printf(s, ",inode64"); 1497 |
1505#ifdef CONFIG_OCFS2_FS_POSIX_ACL | |
1506 if (opts & OCFS2_MOUNT_POSIX_ACL) 1507 seq_printf(s, ",acl"); 1508 else 1509 seq_printf(s, ",noacl"); | 1498 if (opts & OCFS2_MOUNT_POSIX_ACL) 1499 seq_printf(s, ",acl"); 1500 else 1501 seq_printf(s, ",noacl"); |
1510#endif | |
1511 1512 return 0; 1513} 1514 1515static int __init ocfs2_init(void) 1516{ 1517 int status; 1518 --- 986 unchanged lines hidden --- | 1502 1503 return 0; 1504} 1505 1506static int __init ocfs2_init(void) 1507{ 1508 int status; 1509 --- 986 unchanged lines hidden --- |