hc
2023-11-22 983d7f83616922a6439b4352d1b3af488ee27f95
kernel/include/linux/nfs_fs.h
....@@ -164,7 +164,11 @@
164164
165165 /* Readers: in-flight sillydelete RPC calls */
166166 /* Writers: rmdir */
167
+#ifdef CONFIG_PREEMPT_RT_BASE
168
+ struct semaphore rmdir_sem;
169
+#else
167170 struct rw_semaphore rmdir_sem;
171
+#endif
168172 struct mutex commit_mutex;
169173
170174 #if IS_ENABLED(CONFIG_NFS_V4)