Skip to content

Commit

Permalink
fs/nfs_common/nfsacl.c: move EXPORT symbol after functions
Browse files Browse the repository at this point in the history
Fix checkpatch warnings:

"WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable"

Cc: Trond Myklebust <[email protected]>
Signed-off-by: Fabian Frederick <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
  • Loading branch information
Fabian Frederick authored and trondmypd committed Jul 12, 2014
1 parent f11b2a1 commit 57b696f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fs/nfs_common/nfsacl.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@

MODULE_LICENSE("GPL");

EXPORT_SYMBOL_GPL(nfsacl_encode);
EXPORT_SYMBOL_GPL(nfsacl_decode);

struct nfsacl_encode_desc {
struct xdr_array2_desc desc;
unsigned int count;
Expand Down Expand Up @@ -136,6 +133,7 @@ int nfsacl_encode(struct xdr_buf *buf, unsigned int base, struct inode *inode,
nfsacl_desc.desc.array_len;
return err;
}
EXPORT_SYMBOL_GPL(nfsacl_encode);

struct nfsacl_decode_desc {
struct xdr_array2_desc desc;
Expand Down Expand Up @@ -295,3 +293,4 @@ int nfsacl_decode(struct xdr_buf *buf, unsigned int base, unsigned int *aclcnt,
return 8 + nfsacl_desc.desc.elem_size *
nfsacl_desc.desc.array_len;
}
EXPORT_SYMBOL_GPL(nfsacl_decode);

0 comments on commit 57b696f

Please sign in to comment.