fscrypt: remove unnecessary includes of ratelimit.h
Eric Biggers
maintainerPATCH 1/1 fscrypt: remove unnecessary includes of ratelimit.h
From: Eric Biggers <[email protected]>
These should have been removed during commit 544d08fde258 ("fscrypt: use a common logging function"), but I missed them.
Signed-off-by Eric Biggers <[email protected]>
--- fs/crypto/fname.c | 1 - fs/crypto/hooks.c | 1 - fs/crypto/keyinfo.c | 1 - 3 files changed, 3 deletions(-)
fs/crypto/fname.c +0 -1
@@ -12,7 +12,6 @@*/ #include <linux/scatterlist.h> -#include <linux/ratelimit.h> #include <crypto/skcipher.h> #include "fscrypt_private.h"
fs/crypto/hooks.c +0 -1
@@ -5,7 +5,6 @@* Encryption hooks for higher-level filesystem operations. */ -#include <linux/ratelimit.h> #include "fscrypt_private.h" /**
fs/crypto/keyinfo.c +0 -1
@@ -12,7 +12,6 @@#include <keys/user-type.h> #include <linux/hashtable.h> #include <linux/scatterlist.h> -#include <linux/ratelimit.h> #include <crypto/aes.h> #include <crypto/algapi.h> #include <crypto/sha.h>
Signature · 1 line
2.22.0.rc1.257.g3120a18244-goog
Quoted 51 lines · Eric Biggers
From: Eric Biggers <[email protected]>
These should have been removed during commit
544d08fde258("fscrypt: use a common logging function"), but I missed them.Signed-off-by Eric Biggers <[email protected]>--- fs/crypto/fname.c | 1 - fs/crypto/hooks.c | 1 - fs/crypto/keyinfo.c | 1 - 3 files changed, 3 deletions(-)fs/crypto/fname.c +0
-1@@ -12,7 +12,6 @@*/ #include <linux/scatterlist.h> -#include <linux/ratelimit.h> #include <crypto/skcipher.h> #include "fscrypt_private.h" fs/crypto/hooks.c +0
-1@@ -5,7 +5,6 @@* Encryption hooks for higher-level filesystem operations. */ -#include <linux/ratelimit.h> #include "fscrypt_private.h" /** fs/crypto/keyinfo.c +0
-1@@ -12,7 +12,6 @@#include <keys/user-type.h> #include <linux/hashtable.h> #include <linux/scatterlist.h> -#include <linux/ratelimit.h> #include <crypto/aes.h> #include <crypto/algapi.h> #include <crypto/sha.h> Signature · 1 line
2.22.0.rc1.257.g3120a18244-goog
Applied to fscrypt.git for v5.3.
- Eric