git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove redundant check for CONFIG_MMU
[safe/jmp/linux-2.6]
/
fs
/
logfs
/
logfs.h
diff --git
a/fs/logfs/logfs.h
b/fs/logfs/logfs.h
index
c9929ee
..
0a3df1a
100644
(file)
--- a/
fs/logfs/logfs.h
+++ b/
fs/logfs/logfs.h
@@
-727,4
+727,10
@@
static inline struct logfs_area *get_area(struct super_block *sb,
return logfs_super(sb)->s_area[(__force u8)gc_level];
}
+static inline void logfs_mempool_destroy(mempool_t *pool)
+{
+ if (pool)
+ mempool_destroy(pool);
+}
+
#endif