|
@@ -1870,19 +1870,6 @@ extern struct dentry *mount_pseudo(struct file_system_type *, char *,
|
|
|
const struct dentry_operations *dops,
|
|
const struct dentry_operations *dops,
|
|
|
unsigned long);
|
|
unsigned long);
|
|
|
|
|
|
|
|
-static inline void sb_mark_dirty(struct super_block *sb)
|
|
|
|
|
-{
|
|
|
|
|
- sb->s_dirt = 1;
|
|
|
|
|
-}
|
|
|
|
|
-static inline void sb_mark_clean(struct super_block *sb)
|
|
|
|
|
-{
|
|
|
|
|
- sb->s_dirt = 0;
|
|
|
|
|
-}
|
|
|
|
|
-static inline int sb_is_dirty(struct super_block *sb)
|
|
|
|
|
-{
|
|
|
|
|
- return sb->s_dirt;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
/* Alas, no aliases. Too much hassle with bringing module.h everywhere */
|
|
/* Alas, no aliases. Too much hassle with bringing module.h everywhere */
|
|
|
#define fops_get(fops) \
|
|
#define fops_get(fops) \
|
|
|
(((fops) && try_module_get((fops)->owner) ? (fops) : NULL))
|
|
(((fops) && try_module_get((fops)->owner) ? (fops) : NULL))
|