Skip to contentSkip to conversation

fscrypt: remove unnecessary includes of ratelimit.h

PATCH Applied Eric Biggers 1 participant 2 messages May 28, 2019 – Jun 11, 2019 fscrypt: file system level encryption support

lore
Share & tools
lore

Eric Biggers

author maintainer
#0 lore raw

PATCH 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.

---
 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
index eccea3d8f9234..00d150ff30332 100644
@@ -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
index bd525f7573a49..c1d6715d88e93 100644
@@ -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
index dcd91a3fbe49a..207ebed918c15 100644
@@ -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
author maintainer Applied
#1 lore raw
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.

---
 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
index eccea3d8f9234..00d150ff30332 100644
@@ -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
index bd525f7573a49..c1d6715d88e93 100644
@@ -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
index dcd91a3fbe49a..207ebed918c15 100644
@@ -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