Whamcloud - gitweb
LU-9679 mdc: create mdc_acl.c
[fs/lustre-release.git] / lustre / mdc / mdc_internal.h
index c7e4793..c037014 100644 (file)
@@ -167,6 +167,16 @@ static inline int mdc_prep_elc_req(struct obd_export *exp,
                                 count);
 }
 
+#ifdef CONFIG_LUSTRE_FS_POSIX_ACL
+int mdc_unpack_acl(struct ptlrpc_request *req, struct lustre_md *md);
+#else
+static inline
+int mdc_unpack_acl(struct ptlrpc_request *req, struct lustre_md *md)
+{
+       return 0;
+}
+#endif
+
 static inline unsigned long hash_x_index(__u64 hash, int hash64)
 {
        if (BITS_PER_LONG == 32 && hash64)