linux24-update-20070208

FIXES 53199

update for linux 2.4
This commit is contained in:
Marcus Watts 2007-02-09 01:04:28 +00:00 committed by Derrick Brashear
parent 9dd8d7f817
commit 226f3b1b47
2 changed files with 3 additions and 4 deletions

View File

@ -99,7 +99,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

@ -238,7 +238,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;
@ -373,13 +373,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