[PATCH] 2.6.24-rc2-mm1 - Build fails - in nsfd/vfs.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrew,

The Kernel build fails, with error

  CC      fs/nfsd/vfs.o
fs/nfsd/vfs.c: In function ‘nfsd_rename’:
fs/nfsd/vfs.c:1695: error: request for member ‘mnt’ in something not a structure or union
make[2]: *** [fs/nfsd/vfs.o] Error 1
make[1]: *** [fs/nfsd] Error 2
make: *** [fs] Error 2

Signed-off-by: Kamalesh Babulal <[email protected]>
--
--- linux-2.6.24-rc2/fs/nfsd/vfs.c	2007-11-13 22:16:18.000000000 -0500
+++ linux-2.6.24-rc2/fs/nfsd/~vfs.c	2007-11-13 23:10:18.000000000 -0500
@@ -1692,7 +1692,7 @@ nfsd_rename(struct svc_rqst *rqstp, stru
 		if (!host_err)
 			host_err = nfsd_sync_dir(fdentry);
 	}
-	mnt_drop_write(ffhp->fh_export->ex_path.mnt);
+	mnt_drop_write(ffhp->fh_export->ex_mnt);
 
  out_dput_new:
 	dput(ndentry);

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux