# git rev-parse -q --verify ae4b064e2a616b545acf02b8f50cc513b32c7522^{commit} ae4b064e2a616b545acf02b8f50cc513b32c7522 already have revision, skipping fetch # git checkout -q -f -B kisskb ae4b064e2a616b545acf02b8f50cc513b32c7522 # git clean -qxdf # < git log -1 # commit ae4b064e2a616b545acf02b8f50cc513b32c7522 # Merge: 687dec9b9459 50559800b76a # Author: Linus Torvalds # Date: Wed Dec 11 18:10:40 2019 -0800 # # Merge tag 'afs-fixes-20191211' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs # # Pull AFS fixes from David Howells: # "Fixes for AFS plus one patch to make debugging easier: # # - Fix how addresses are matched to server records. This is currently # incorrect which means cache invalidation callbacks from the server # don't necessarily get delivered correctly. This causes stale data # and metadata to be seen under some circumstances. # # - Make the dynamic root superblock R/W so that rpm/dnf can reapply # the SELinux label to it when upgrading the Fedora filesystem-afs # package. If the filesystem is R/O, this fails and the upgrade # fails. # # It might be better in future to allow setxattr from an LSM to # bypass the R/O protections, if only for pseudo-filesystems. # # - Fix the parsing of mountpoint strings. The mountpoint object has to # have a terminal dot, whereas the source/device string passed to # mount should not. This confuses type-forcing suffix detection # leading to the wrong volume variant being mounted. # # - Make lookups in the dynamic root superblock for creation events # (such as mkdir) fail with EOPNOTSUPP rather than something like # EEXIST. The dynamic root only allows implicit creation by the # ->lookup() method - and only if the target cell exists. # # - Fix the looking up of an AFS superblock to include the cell in the # matching key - otherwise all volumes with the same ID number are # treated as the same thing, irrespective of which cell they're in. # # - Show the volume name of each volume in the volume records displayed # in /proc/net/afs//volumes. This proved useful in debugging as # it provides a way to map the volume IDs to names, where the names # are what appear in /proc/mounts" # # * tag 'afs-fixes-20191211' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs: # afs: Show volume name in /proc/net/afs//volumes # afs: Fix missing cell comparison in afs_test_super() # afs: Fix creation calls in the dynamic root to fail with EOPNOTSUPP # afs: Fix mountpoint parsing # afs: Fix SELinux setting security label on /afs # afs: Fix afs_find_server lookups for ipv4 peers # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux-ld --version # < git log --format=%s --max-count=1 ae4b064e2a616b545acf02b8f50cc513b32c7522 # < make -s -j 8 ARCH=parisc O=/kisskb/build/linus_a500_defconfig_parisc64 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- a500_defconfig # make -s -j 8 ARCH=parisc O=/kisskb/build/linus_a500_defconfig_parisc64 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa64-linux/bin/hppa64-linux- In file included from /kisskb/src/arch/parisc/include/asm/atomic.h:10, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/arch/parisc/include/asm/bitops.h:13, from /kisskb/src/include/linux/bitops.h:26, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/scsi/scsi_debug.c:18: /kisskb/src/drivers/scsi/scsi_debug.c: In function 'resp_start_stop': /kisskb/src/arch/parisc/include/asm/cmpxchg.h:48:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) /kisskb/src/arch/parisc/include/asm/atomic.h:78:30: note: in expansion of macro 'xchg' #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) ^~~~ /kisskb/src/drivers/scsi/scsi_debug.c:1618:2: note: in expansion of macro 'atomic_xchg' atomic_xchg(&devip->stopped, stop); ^~~~~~~~~~~ In file included from /kisskb/src/arch/parisc/include/asm/atomic.h:10, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/arch/parisc/include/asm/bitops.h:13, from /kisskb/src/include/linux/bitops.h:26, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/fs/nfs/read.c:11: /kisskb/src/fs/nfs/read.c: In function 'nfs_read_completion': /kisskb/src/arch/parisc/include/asm/cmpxchg.h:48:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/nfs/read.c:196:5: note: in expansion of macro 'xchg' xchg(&nfs_req_openctx(req)->error, error); ^~~~ /kisskb/src/fs/nfs/read.c: In function 'nfs_readpage': /kisskb/src/arch/parisc/include/asm/cmpxchg.h:48:3: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/nfs/read.c:352:2: note: in expansion of macro 'xchg' xchg(&ctx->error, 0); ^~~~ Completed OK # rm -rf /kisskb/build/linus_a500_defconfig_parisc64 # Build took: 0:02:46.755047