X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Flvfs.h;h=e90b1556dadf2ea31c145b38a6425da15bd5540e;hb=refs%2Ftags%2FGIT_EPOCH_MASTER;hp=335373af2ba58bfd35652c1b1556cce238565b77;hpb=6869932b552ac705f411de3362f01bd50c1f6f7d;p=fs%2Flustre-release.git diff --git a/lustre/include/linux/lvfs.h b/lustre/include/linux/lvfs.h index 335373a..e90b155 100644 --- a/lustre/include/linux/lvfs.h +++ b/lustre/include/linux/lvfs.h @@ -62,7 +62,7 @@ struct lvfs_ucred { __u32 luc_gid; __u32 luc_fsuid; __u32 luc_fsgid; - __u32 luc_cap; + cfs_kernel_cap_t luc_cap; __u32 luc_umask; struct group_info *luc_ginfo; struct md_identity *luc_identity; @@ -96,7 +96,7 @@ struct lvfs_run_ctxt { #ifdef __KERNEL__ struct dentry *simple_mkdir(struct dentry *dir, struct vfsmount *mnt, - char *name, int mode, int fix); + const char *name, int mode, int fix); struct dentry *simple_mknod(struct dentry *dir, char *name, int mode, int fix); int lustre_rename(struct dentry *dir, struct vfsmount *mnt, char *oldname, char *newname); @@ -104,6 +104,10 @@ int lustre_fread(struct file *file, void *buf, int len, loff_t *off); int lustre_fwrite(struct file *file, const void *buf, int len, loff_t *off); int lustre_fsync(struct file *file); long l_readdir(struct file * file, struct list_head *dentry_list); +int l_notify_change(struct vfsmount *mnt, struct dentry *dchild, + struct iattr *newattrs); +int simple_truncate(struct dentry *dir, struct vfsmount *mnt, + char *name, loff_t length); static inline void l_dput(struct dentry *de) {