STABLE14-linux24-update-20070208

FIXES 53199

update for linux 2.4


(cherry picked from commit 226f3b1b47)
This commit is contained in:
Marcus Watts 2007-02-09 01:07:54 +00:00 committed by Derrick Brashear
parent 3e098bafd6
commit ad6445f25a
2 changed files with 3 additions and 4 deletions

View File

@ -101,7 +101,6 @@ static ssize_t
afs_linux_write(struct file *fp, const char *buf, size_t count, loff_t * offp)
{
ssize_t code = 0;
int code2 = 0;
struct vcache *vcp = VTOAFS(fp->f_dentry->d_inode);
struct vrequest treq;
cred_t *credp = crref();

View File

@ -279,7 +279,7 @@ afs_DaemonOp(long parm, long parm2, long parm3, long parm4, long parm5,
#if defined(AFS_LINUX24_ENV) && defined(COMPLETION_H_EXISTS)
struct afsd_thread_info {
#if !defined(INIT_WORK_HAS_DATA)
#if defined(AFS_LINUX26_ENV) && !defined(INIT_WORK_HAS_DATA)
struct work_struct tq;
#endif
unsigned long parm;
@ -414,13 +414,13 @@ afsd_thread(void *rock)
}
void
#if !defined(INIT_WORK_HAS_DATA)
#if defined(AFS_LINUX26_ENV) && !defined(INIT_WORK_HAS_DATA)
afsd_launcher(struct work_struct *work)
#else
afsd_launcher(void *rock)
#endif
{
#if !defined(INIT_WORK_HAS_DATA)
#if defined(AFS_LINUX26_ENV) && !defined(INIT_WORK_HAS_DATA)
struct afsd_thread_info *rock = container_of(work, struct afsd_thread_info, tq);
#endif