vfs: check i_nlink limits in vfs_{mkdir,rename_dir,link}
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / fs.h
index 386da09f229dfad8ff8ef5600c8045f221ae862f..0ab89426ba559cd66055cd858b86c32ac608f200 100644 (file)
@@ -1459,6 +1459,7 @@ struct super_block {
        u8 s_uuid[16];                          /* UUID */
 
        void                    *s_fs_info;     /* Filesystem private info */
+       unsigned int            s_max_links;
        fmode_t                 s_mode;
 
        /* Granularity of c/m/atime in ns.
@@ -2496,6 +2497,7 @@ extern void get_filesystem(struct file_system_type *fs);
 extern void put_filesystem(struct file_system_type *fs);
 extern struct file_system_type *get_fs_type(const char *name);
 extern struct super_block *get_super(struct block_device *);
+extern struct super_block *get_super_thawed(struct block_device *);
 extern struct super_block *get_active_super(struct block_device *bdev);
 extern void drop_super(struct super_block *sb);
 extern void iterate_supers(void (*)(struct super_block *, void *), void *);