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

From: Kamalesh Babulal
Date: Tue Nov 13 2007 - 23:50:07 EST


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 <kamalesh@xxxxxxxxxxxxxxxxxx>
--
--- 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/