Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18011

build failure on linux-6.8 due to ->flileattr_set() on PCC related code

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      The latest master branch with some PCC related patches merged will cause build issue for linux-6.8

      make[3]: Entering directory '/home/ubuntu/linux-source-6.8.0'
        CC [M]  /home/ubuntu/lustre-release/lustre/llite/pcc.o
      /home/ubuntu/lustre-release/lustre/llite/pcc.c: In function ‘__pcc_file_reset_projid’:
      /home/ubuntu/lustre-release/lustre/llite/pcc.c:3265:40: error: passing argument 1 of ‘inode->i_op->fileattr_set’ from incompatible pointer type [-Werror=incompatible-pointer-types]
       3265 |         rc = inode->i_op->fileattr_set(&init_user_ns, dentry, &fa);
            |                                        ^~~~~~~~~~~~~
            |                                        |
            |                                        struct user_namespace *
      /home/ubuntu/lustre-release/lustre/llite/pcc.c:3265:40: note: expected ‘struct mnt_idmap ’ but argument is of type ‘struct user_namespace ’

      Attachments

        Activity

          [LU-18011] build failure on linux-6.8 due to ->flileattr_set() on PCC related code
          pjones Peter Jones added a comment -

          Merged for 2.16

          pjones Peter Jones added a comment - Merged for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/55671/
          Subject: LU-18011 pcc: fix build failure in ->fileattr_set()
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 160164fdc2d7a193160cbba6ab783b5d69ead4ce

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/55671/ Subject: LU-18011 pcc: fix build failure in ->fileattr_set() Project: fs/lustre-release Branch: master Current Patch Set: Commit: 160164fdc2d7a193160cbba6ab783b5d69ead4ce

          "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55671
          Subject: LU-18011 pcc: fix build failure in ->fileattr_set()
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: ccd050c2c6181ff7924e92f45550287b872e9312

          gerrit Gerrit Updater added a comment - "Qian Yingjin <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55671 Subject: LU-18011 pcc: fix build failure in ->fileattr_set() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ccd050c2c6181ff7924e92f45550287b872e9312

          People

            qian_wc Qian Yingjin
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: