Skip to contentSkip to conversation

quota: remove unused sync_dquots_dev()

PATCH In review Herbert Poetzl 2 participants 2 messages Jan 24, 2006 Diskquota

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 quota: remove unused sync_dquots_dev()

browsing through the quota code, I found that the already removed sync_dquots_dev(dev,type) is still defined in the no-quota case, so here is a patch to remove this unused define ...

best,
Herbert

include/linux/quotaops.h renamed from include/linux/quotaops.h.orig +0 -1
@@ -190,7 +190,6 @@ static __inline__ int DQUOT_OFF(struct s
  */
 #define sb_dquot_ops				(NULL)
 #define sb_quotactl_ops				(NULL)
-#define sync_dquots_dev(dev,type)		(NULL)
 #define DQUOT_INIT(inode)			do { } while(0)
 #define DQUOT_DROP(inode)			do { } while(0)
 #define DQUOT_ALLOC_INODE(inode)		(0)
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines

browsing through the quota code, I found that the already removed sync_dquots_dev(dev,type) is still defined in the no-quota case, so here is a patch to remove this unused define ...

Yes, that's unused for some while. Please send it to Andrew/Linus
for inclusion.

Quoted 1 line

Honza

Quoted 11 lines
include/linux/quotaops.h renamed from include/linux/quotaops.h.orig +0 -1
@@ -190,7 +190,6 @@ static __inline__ int DQUOT_OFF(struct s
  */
 #define sb_dquot_ops				(NULL)
 #define sb_quotactl_ops				(NULL)
-#define sync_dquots_dev(dev,type)		(NULL)
 #define DQUOT_INIT(inode)			do { } while(0)
 #define DQUOT_DROP(inode)			do { } while(0)
 #define DQUOT_ALLOC_INODE(inode)		(0)
Signature · 2 lines
Jan Kara <[email protected]>
SuSE CR Labs