mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-10 13:47:27 +00:00
setattr_prepare no longer extern in fs.h
v5.11-rc4-7-g2f221d6f7b88 Changes setattr_prepare from an extern to plain int. There's no impact further to the compat to keep it working except for the detection regex. Signed-off-by: Auke Kok <auke.kok@versity.com>
This commit is contained in:
@@ -78,8 +78,9 @@ endif
|
||||
# v4.8-rc1-29-g31051c85b5e2
|
||||
#
|
||||
# inode_change_ok() removed - replace with setattr_prepare()
|
||||
# v5.11-rc4-7-g2f221d6f7b88 removes extern attribute
|
||||
#
|
||||
ifneq (,$(shell grep 'extern int setattr_prepare' include/linux/fs.h))
|
||||
ifneq (,$(shell grep 'int setattr_prepare' include/linux/fs.h))
|
||||
ccflags-y += -DKC_SETATTR_PREPARE
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user