* [Patch] quota: remove unused sync_dquots_dev()]
@ 2006-01-24 16:35 Herbert Poetzl
0 siblings, 0 replies; 3+ messages in thread
From: Herbert Poetzl @ 2006-01-24 16:35 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: Linux Kernel ML
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 ...
as requested by Jan Kara <jack@suse.cz>, here the
resend to Linus and Andrew for inclusion ...
best,
Herbert
Signed-off-by: Herbert Pötzl <herbert@13thfloor.at>
Acked-by: Jan Kara <jack@suse.cz>
--- ./include/linux/quotaops.h.orig 2006-01-03 17:30:10 +0100
+++ ./include/linux/quotaops.h 2006-01-24 05:36:57 +0100
@@ -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)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Patch] quota: remove unused sync_dquots_dev()
2006-01-24 4:43 [Patch] quota: remove unused sync_dquots_dev() Herbert Poetzl
@ 2006-01-24 8:58 ` Jan Kara
0 siblings, 0 replies; 3+ messages in thread
From: Jan Kara @ 2006-01-24 8:58 UTC (permalink / raw)
To: Linux Kernel ML, Herbert Poetzl
> 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.
> Signed-off-by: Herbert Pötzl <herbert@13thfloor.at>
Acked-by: Jan Kara <jack@suse.cz>
Honza
> --- ./include/linux/quotaops.h.orig 2006-01-03 17:30:10 +0100
> +++ ./include/linux/quotaops.h 2006-01-24 05:36:57 +0100
> @@ -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)
>
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Patch] quota: remove unused sync_dquots_dev()
@ 2006-01-24 4:43 Herbert Poetzl
2006-01-24 8:58 ` Jan Kara
0 siblings, 1 reply; 3+ messages in thread
From: Herbert Poetzl @ 2006-01-24 4:43 UTC (permalink / raw)
To: Linux Kernel ML; +Cc: Jan Kara
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
Signed-off-by: Herbert Pötzl <herbert@13thfloor.at>
--- ./include/linux/quotaops.h.orig 2006-01-03 17:30:10 +0100
+++ ./include/linux/quotaops.h 2006-01-24 05:36:57 +0100
@@ -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)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-01-24 16:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-24 16:35 [Patch] quota: remove unused sync_dquots_dev()] Herbert Poetzl
-- strict thread matches above, loose matches on Subject: below --
2006-01-24 4:43 [Patch] quota: remove unused sync_dquots_dev() Herbert Poetzl
2006-01-24 8:58 ` Jan Kara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).