forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-04 f33f61bdb7ca6d5ebe7a78f9d8694b91360279ac
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)