pnfs: save layoutcommit cred at layout header init
authorPeng Tao <bergwolf@gmail.com>
Sun, 31 Jul 2011 00:52:32 +0000 (20:52 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 31 Jul 2011 16:18:14 +0000 (12:18 -0400)
commit9fa4075878a5faac872a63f4a97ce79c776264e9
treebcc2009c237cf5b8217ddb335f46ceed38a6e24d
parentacff5880539fe33897d016c0f3dcf062e67c61b6
pnfs: save layoutcommit cred at layout header init

No need to save it for every lseg.
No need to save it at every pnfs_set_layoutcommit.

[Needed in v3.0]
CC: Stable Tree <stable@kernel.org>
Signed-off-by: Peng Tao <peng_tao@emc.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Jim Rees <rees@umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c
fs/nfs/pnfs.h