Re: [bfields@xxxxxxxxxxxxxxxxxxxxx: all 4c5fcc5e SQUASHME: pnfs-obj: use pnfs_layout_hdr and layout_segment field prefix results]

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

 



On 2011-02-11 17:29, J. Bruce Fields wrote:
> Is this something that only shows when pnfs is configured out, maybe?

Doesn't show up with my .config, with or without pnfs configured...
Does this help?

diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index f08ab55..35d2567 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -33,6 +33,7 @@
  *  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #include <linux/file.h>
+#include <linux/kref.h>
 #include <linux/slab.h>
 #include <linux/nfsd/nfs4layoutxdr.h>
 #include <linux/nfsd4_spnfs.h>


> 
> --b.
> 
> ----- Forwarded message from "J. Bruce Fields" <bfields@xxxxxxxxxxxxxxxxxxxxx> -----
> 
> Date: Fri, 11 Feb 2011 02:42:18 -0500
> From: "J. Bruce Fields" <bfields@xxxxxxxxxxxxxxxxxxxxx>
> To: bfields@xxxxxxxxxxxx
> Subject: all 4c5fcc5e SQUASHME: pnfs-obj: use pnfs_layout_hdr and
> 	layout_segment field prefix results
> 
> 6210 all 4c5fcc5e SQUASHME: pnfs-obj: use pnfs_layout_hdr and layout_segment field prefix
> fs/cifs/file.c: In function 'cifs_iovec_write':
> fs/cifs/file.c:1740: warning: passing argument 6 of 'CIFSSMBWrite2' from incompatible pointer type
> fs/cifs/cifsproto.h:343: note: expected 'unsigned int *' but argument is of type 'size_t *'
> fs/cifs/link.c: In function 'symlink_hash':
> fs/cifs/link.c:58: warning: 'rc' may be used uninitialized in this function
> fs/cifs/smbencrypt.c: In function 'mdfour':
> fs/cifs/smbencrypt.c:61: warning: 'rc' may be used uninitialized in this function
> In file included from include/linux/nfsd/nfsd4_pnfs.h:39,
>                  from include/linux/nfsd/nfs4layoutxdr.h:38,
>                  from fs/nfsd/nfs4proc.c:37:
> include/linux/nfs_xdr.h:1124: error: field 'refcount' has incomplete type
> make[2]: *** [fs/nfsd/nfs4proc.o] Error 1
> make[1]: *** [fs/nfsd] Error 2
> make[1]: *** Waiting for unfinished jobs....
> make: *** [fs] Error 2
> make: *** Waiting for unfinished jobs....
> 
> started Fri Feb 11 02:22:03 EST 2011, finished Fri Feb 11 02:42:18 EST 2011
> 
> 
> +-----------------------------------------+
> |            verbose output               |
> +-----------------------------------------+
> 
> ----- End forwarded message -----
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux