From 94e0958950192217b063dde1319db0caef852d93 Mon Sep 17 00:00:00 2001 From: yury Date: Thu, 9 Oct 2008 11:45:21 +0000 Subject: [PATCH] b=17194 r=tappro,adilger - truncate last_rcvd for abort recovery case --- lustre/include/linux/lvfs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/include/linux/lvfs.h b/lustre/include/linux/lvfs.h index 801281b..225204b 100644 --- a/lustre/include/linux/lvfs.h +++ b/lustre/include/linux/lvfs.h @@ -110,6 +110,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) { -- 1.8.3.1