Browse Source

fix(action): update Android 13 5.10 SUSFS sublevel check to improve patch application logic

TheWildJames 4 months ago
parent
commit
9724276b45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/actions/susfs/action.yml

+ 1 - 1
.github/actions/susfs/action.yml

@@ -174,7 +174,7 @@ runs:
           fi
         fi
         if [ "${{ inputs.kernel_version }}" = "5.10" ] && [ "${{ inputs.android_version }}" = "android13" ]; then
-          if [ "${{ inputs.sublevel }}" -le "117" ]; then
+          if [ "${{ inputs.sublevel }}" -le "107" ]; then
             perl -i -pe 's/^(\s*if \(inode\) \{)/$1\n        \/\*\n         * IN_ALL_EVENTS represents all of the mask bits\n         * that we expose to userspace.  There is at\n         * least one bit (FS_EVENT_ON_CHILD) which is\n         * used only internally to the kernel.\n         *\/\n        u32 mask = mark->mask & IN_ALL_EVENTS;/m' fs/notify/fdinfo.c
             perl -i -pe 's/\binotify_mark_user_mask\(mark\)/mask, mark->ignored_mask)/g' fs/notify/fdinfo.c
           fi