[PATCH] AFS: Remove cache.h

David Howells dhowells at redhat.com
Wed Sep 30 14:02:57 EDT 2009


From: Christoph Hellwig <hch at lst.de>

It's just a wrapper for <linux/fscache.h>, so remove it.

Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: David Howells <dhowells at redhat.com>
---

 fs/afs/cache.h    |   12 ------------
 fs/afs/internal.h |    2 +-
 2 files changed, 1 insertions(+), 13 deletions(-)
 delete mode 100644 fs/afs/cache.h


diff --git a/fs/afs/cache.h b/fs/afs/cache.h
deleted file mode 100644
index 5c4f6b4..0000000
--- a/fs/afs/cache.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* AFS local cache management interface
- *
- * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
- * Written by David Howells (dhowells at redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- */
-
-#include <linux/fscache.h>
diff --git a/fs/afs/internal.h b/fs/afs/internal.h
index 7194aa1..f7222eb 100644
--- a/fs/afs/internal.h
+++ b/fs/afs/internal.h
@@ -18,10 +18,10 @@
 #include <linux/key.h>
 #include <linux/workqueue.h>
 #include <linux/sched.h>
+#include <linux/fscache.h>
 
 #include "afs.h"
 #include "afs_vl.h"
-#include "cache.h"
 
 #define AFS_CELL_MAX_ADDRS 15
 




More information about the linux-afs mailing list