overlayfs.h (9678e630305724487f1fc101d6b83c383ff9cc90) | overlayfs.h (1eff1a1deec727bacead79ec64554c1df190f43c) |
---|---|
1/* 2 * 3 * Copyright (C) 2011 Novell Inc. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 as published by 7 * the Free Software Foundation. 8 */ --- 237 unchanged lines hidden (view full) --- 246{ 247 return ovl_check_dir_xattr(dentry, OVL_XATTR_IMPURE); 248} 249 250 251/* namei.c */ 252int ovl_verify_origin(struct dentry *dentry, struct dentry *origin, 253 bool is_upper, bool set); | 1/* 2 * 3 * Copyright (C) 2011 Novell Inc. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 as published by 7 * the Free Software Foundation. 8 */ --- 237 unchanged lines hidden (view full) --- 246{ 247 return ovl_check_dir_xattr(dentry, OVL_XATTR_IMPURE); 248} 249 250 251/* namei.c */ 252int ovl_verify_origin(struct dentry *dentry, struct dentry *origin, 253 bool is_upper, bool set); |
254int ovl_verify_index(struct dentry *index, struct ovl_path *lower, 255 unsigned int numlower); | 254int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index); |
256int ovl_get_index_name(struct dentry *origin, struct qstr *name); 257int ovl_path_next(int idx, struct dentry *dentry, struct path *path); | 255int ovl_get_index_name(struct dentry *origin, struct qstr *name); 256int ovl_path_next(int idx, struct dentry *dentry, struct path *path); |
258struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags); | 257struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, 258 unsigned int flags); |
259bool ovl_lower_positive(struct dentry *dentry); 260 261/* readdir.c */ 262extern const struct file_operations ovl_dir_operations; 263int ovl_check_empty_dir(struct dentry *dentry, struct list_head *list); 264void ovl_cleanup_whiteouts(struct dentry *upper, struct list_head *list); 265void ovl_cache_free(struct list_head *list); 266void ovl_dir_cache_free(struct inode *inode); 267int ovl_check_d_type_supported(struct path *realpath); 268void ovl_workdir_cleanup(struct inode *dir, struct vfsmount *mnt, 269 struct dentry *dentry, int level); | 259bool ovl_lower_positive(struct dentry *dentry); 260 261/* readdir.c */ 262extern const struct file_operations ovl_dir_operations; 263int ovl_check_empty_dir(struct dentry *dentry, struct list_head *list); 264void ovl_cleanup_whiteouts(struct dentry *upper, struct list_head *list); 265void ovl_cache_free(struct list_head *list); 266void ovl_dir_cache_free(struct inode *inode); 267int ovl_check_d_type_supported(struct path *realpath); 268void ovl_workdir_cleanup(struct inode *dir, struct vfsmount *mnt, 269 struct dentry *dentry, int level); |
270int ovl_indexdir_cleanup(struct dentry *dentry, struct vfsmount *mnt, 271 struct ovl_path *lower, unsigned int numlower); | 270int ovl_indexdir_cleanup(struct ovl_fs *ofs); |
272 273/* inode.c */ 274int ovl_set_nlink_upper(struct dentry *dentry); 275int ovl_set_nlink_lower(struct dentry *dentry); 276unsigned int ovl_get_nlink(struct dentry *lowerdentry, 277 struct dentry *upperdentry, 278 unsigned int fallback); 279int ovl_setattr(struct dentry *dentry, struct iattr *attr); --- 47 unchanged lines hidden --- | 271 272/* inode.c */ 273int ovl_set_nlink_upper(struct dentry *dentry); 274int ovl_set_nlink_lower(struct dentry *dentry); 275unsigned int ovl_get_nlink(struct dentry *lowerdentry, 276 struct dentry *upperdentry, 277 unsigned int fallback); 278int ovl_setattr(struct dentry *dentry, struct iattr *attr); --- 47 unchanged lines hidden --- |