]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: nfs4_open_recover_helper() must set share access
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Feb 2015 22:04:17 +0000 (17:04 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Feb 2015 22:10:40 +0000 (17:10 -0500)
commitedc2d2f52cc9f4040125dc0f80455cec415416c4
treeaa4b22684b369725d38133a38f06b233ea1facd7
parent448df6e20634bd22bb5ab953c299e63f4d6a34dc
NFSv4: nfs4_open_recover_helper() must set share access

The share access mode is now specified as an argument in the nfs4_opendata,
and so nfs4_open_recover_helper() needs to call nfs4_map_atomic_open_share()
in order to set it.

Fixes: 6afe27f90acc ("NFSv4.1: Ask for no delegation on OPEN if using O_DIRECT")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c