]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/fs.h
fs: xattr_handler table should be const
[net-next-2.6.git] / include / linux / fs.h
index eeb04ba17b63e3e5340697a3d7d68afe2ba347fa..6660db898c412adfaac260ddab78aa5ed4ef398f 100644 (file)
@@ -1336,7 +1336,7 @@ struct super_block {
 #ifdef CONFIG_SECURITY
        void                    *s_security;
 #endif
-       struct xattr_handler    **s_xattr;
+       const struct xattr_handler **s_xattr;
 
        struct list_head        s_inodes;       /* all inodes */
        struct hlist_head       s_anon;         /* anonymous dentries for (nfs) exporting */
@@ -1797,6 +1797,8 @@ extern void drop_collected_mounts(struct vfsmount *);
 extern int iterate_mounts(int (*)(struct vfsmount *, void *), void *,
                          struct vfsmount *);
 extern int vfs_statfs(struct dentry *, struct kstatfs *);
+extern int freeze_super(struct super_block *super);
+extern int thaw_super(struct super_block *super);
 
 extern int current_umask(void);