summaryrefslogtreecommitdiff
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2015-03-28 18:46:09 +0300
committerJ. Bruce Fields <bfields@redhat.com>2015-03-31 23:46:39 +0300
commit1ec8c0c47f63b4af66e3615618f842267ac88b4a (patch)
treedaff1aedced240871e494b5c8f919831083942fe /fs/nfsd/xdr4.h
parentb14f4f7e61aaa4437a42e2e11055fc01782a15bf (diff)
downloadlinux-1ec8c0c47f63b4af66e3615618f842267ac88b4a.tar.xz
nfsd: Remove duplicate macro define for max sec label length
NFS4_MAXLABELLEN has defined for sec label max length, use it directly. Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r--fs/nfsd/xdr4.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index 83e80d6d94a6..556ce2e47555 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -40,7 +40,6 @@
#include "state.h"
#include "nfsd.h"
-#define NFSD4_MAX_SEC_LABEL_LEN 2048
#define NFSD4_MAX_TAGLEN 128
#define XDR_LEN(n) (((n) + 3) & ~3)