Whamcloud - gitweb
LU-4276 ldiskfs: enable read/write access by default 35/8335/2
authorBob Glossman <bob.glossman@intel.com>
Tue, 19 Nov 2013 22:51:09 +0000 (14:51 -0800)
committerAndreas Dilger <andreas.dilger@intel.com>
Wed, 27 Nov 2013 00:32:14 +0000 (00:32 +0000)
Add build time config option to allow read/write access by default.
While the new CONFIG_LDISKFS_FS_RW only matters in SLES11 builds,
it's easiest to just add the flag to all builds unconditionally.
It will be ignored in builds where it doesn't matter.

Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Change-Id: Icaab7a4fd003dd29a49af9222852bded7ec344ff
Reviewed-on: http://review.whamcloud.com/8335
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
config/lustre-build-ldiskfs.m4

index d990354..4b15de3 100644 (file)
@@ -151,6 +151,7 @@ AS_IF([test x$enable_ldiskfs != xno],[
        AC_DEFINE(CONFIG_LDISKFS_FS_POSIX_ACL, 1, [posix acls for ldiskfs])
        AC_DEFINE(CONFIG_LDISKFS_FS_SECURITY, 1, [fs security for ldiskfs])
        AC_DEFINE(CONFIG_LDISKFS_FS_XATTR, 1, [extened attributes for ldiskfs])
+       AC_DEFINE(CONFIG_LDISKFS_FS_RW, 1, [enable rw access for ldiskfs])
        AC_SUBST(LDISKFS_SUBDIR, ldiskfs)
        AC_DEFINE(HAVE_LDISKFS_OSD, 1, Enable ldiskfs osd)
 ])