commit 1052fce361be47d18f29bb50e29fa0f935d28caa
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Fri Nov 16 13:46:35 2007 -0500
Unionfs: support CONFIG_PREEMPT_RT
Use compat_rw_semaphore when using the real-time preemption patches.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h
index 2675b6b..98bc39d 100644
--- a/fs/unionfs/union.h
+++ b/fs/unionfs/union.h
@@ -174,7 +174,11 @@ struct unionfs_sb_info {
* 2) any new operations do not execute until the currently
* running branch management operation completes
*/
+#ifdef CONFIG_PREEMPT_RT
+ struct compat_rw_semaphore rwsem;
+#else /* not CONFIG_PREEMPT_RT */
struct rw_semaphore rwsem;
+#endif /* not CONFIG_PREEMPT_RT */
int high_branch_id; /* last unique branch ID given */
struct odf_sb_info odf;
struct unionfs_data *data;
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs