]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Fix NFSD_MDS_PR_KEY on 32-bit by adding ULL postfix
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 25 Mar 2016 10:47:11 +0000 (11:47 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 14 Jun 2016 15:50:04 +0000 (11:50 -0400)
commit891d5430e477cbb1e4c16b187b6bf6618cbba9b5
treea211dd969e76aa0d3c2a3f954c36bb6dd391e874
parentac906ebd33f34471dcc16d6e467abbc77a95d2c8
nfsd: Fix NFSD_MDS_PR_KEY on 32-bit by adding ULL postfix

On 32-bit:

    fs/nfsd/blocklayout.c: In function ‘nfsd4_block_get_device_info_scsi’:
    fs/nfsd/blocklayout.c:337: warning: integer constant is too large for ‘long’ type
    fs/nfsd/blocklayout.c:344: warning: integer constant is too large for ‘long’ type
    fs/nfsd/blocklayout.c: In function ‘nfsd4_scsi_fence_client’:
    fs/nfsd/blocklayout.c:385: warning: integer constant is too large for ‘long’ type

Add the missing "ULL" postfix to 64-bit constant NFSD_MDS_PR_KEY to fix
this.

Fixes: 39f757e8d9835c24 ("nfsd: add SCSI layout support")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/blocklayout.c