nfs: Fix wrong slab cache in nfs_commit_mempool
authorYanchuan Nian <ycnian@gmail.com>
Mon, 12 Nov 2012 01:27:37 +0000 (09:27 +0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 25 Nov 2012 16:59:33 +0000 (11:59 -0500)
The slab cache in nfs_commit_mempool is wrong, and I think it is just a slip.
I tested it on a x86-32 machine, the size of nfs_write_header is 544, and
the size of nfs_commit_data is 408, so it works fine. It is also true that
sizeof(struct nfs_write_header) > sizeof(struct nfs_commit_data) on other
platforms in my opinoin. Just fix it.

Signed-off-by: Yanchuan Nian <ycnian@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c

diff --cc fs/nfs/write.c
Simple merge