Merge tag 'afs-fixes-20210315' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowe...
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 15 Mar 2021 23:36:40 +0000 (16:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 15 Mar 2021 23:36:40 +0000 (16:36 -0700)
Pull AFS fixes from David Howells:

 - Fix an oops in AFS that can be triggered by accessing one of the
   afs.yfs.* xattrs against an OpenAFS server - for instance by commands
   like "cp -a"[1], "rsync -X" or getfattr[2]. These try and copy all of
   the xattrs.

   cp and rsync should pay attention to the list in /etc/xattr.conf, but
   cp doesn't on Ubuntu and rsync doesn't seem to on Ubuntu or Fedora.
   xattr.conf has been modified upstream[3], and a new version has just
   been cut that includes it. I've logged a bug against rsync for the
   problem there[4].

 - Stop listing "afs.*" xattrs[5][6][7], but particularly ACL ones[8] so
   that they don't confuse cp and rsync.

   This removes them from the list returned by listxattr(), but they're
   still available to get/set.

Link: http://lists.infradead.org/pipermail/linux-afs/2021-March/003498.html
Link: http://lists.infradead.org/pipermail/linux-afs/2021-March/003501.html
Link: https://git.savannah.nongnu.org/cgit/attr.git/commit/?id=74da517cc655a82ded715dea7245ce88ebc91b98
Link: https://github.com/WayneD/rsync/issues/163
Link: http://lists.infradead.org/pipermail/linux-afs/2021-March/003516.html
Link: http://lists.infradead.org/pipermail/linux-afs/2021-March/003524.html
Link: http://lists.infradead.org/pipermail/linux-afs/2021-March/003565.html
Link: http://lists.infradead.org/pipermail/linux-afs/2021-March/003568.html
Link: http://lists.infradead.org/pipermail/linux-afs/2021-March/003570.html
Link: http://lists.infradead.org/pipermail/linux-afs/2021-March/003571.html
* tag 'afs-fixes-20210315' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
  afs: Stop listxattr() from listing "afs.*" attributes
  afs: Fix accessing YFS xattrs on a non-YFS server


Trivial merge