Skip to contentSkip to conversation

dquot.c: get rid of include ../internal.h

PATCH In review Al Viro 2 participants 2 messages Nov 12, 2024 – Nov 13, 2024

Subsystems (2)
lore
Share & tools
lore

Al Viro

author maintainer
#0 lore raw

PATCH 1/1 dquot.c: get rid of include ../internal.h

Ugh, indeed - and not needed nearly a decade. It had been
added for the sake of inode_sb_list_lock and that spinlock had become a per-superblock (->s_inode_list_lock) in March 2015...

---
 fs/quota/dquot.c | 1 -
 1 file changed, 1 deletion(-)
fs/quota/dquot.c +0 -1
index b40410cd39af..3dd8d6f27725 100644
@@ -80,7 +80,6 @@
 #include <linux/quotaops.h>
 #include <linux/blkdev.h>
 #include <linux/sched/mm.h>
-#include "../internal.h" /* ugh */
 
 #include <linux/uaccess.h>
 
Signature · 1 line
2.39.5
reviewer
#1 lore raw
Quoted 5 lines · Al Viro

Ugh, indeed - and not needed nearly a decade. It had been
added for the sake of inode_sb_list_lock and that spinlock had become a per-superblock (->s_inode_list_lock) in March 2015...

Thanks! Added to my tree.

Honza

Quoted 19 lines
---
 fs/quota/dquot.c | 1 -
 1 file changed, 1 deletion(-)
fs/quota/dquot.c +0 -1
index b40410cd39af..3dd8d6f27725 100644
@@ -80,7 +80,6 @@
 #include <linux/quotaops.h>
 #include <linux/blkdev.h>
 #include <linux/sched/mm.h>
-#include "../internal.h" /* ugh */
 
 #include <linux/uaccess.h>
 
Signature · 1 line
2.39.5
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR