diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-01-22 00:17:06 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-01-30 17:41:04 -0500 |
commit | ab225417825963b6dc66be7ea80f94ac1378dfdf (patch) | |
tree | c1e92f88e3d3633993e7460019a388cd5890545b /fs/nfs/nfs4state.c | |
parent | 65436ec0c8e344d9b23302b686e418f2a7b7cf7b (diff) | |
download | lwn-ab225417825963b6dc66be7ea80f94ac1378dfdf.tar.gz lwn-ab225417825963b6dc66be7ea80f94ac1378dfdf.zip |
NFS: Don't silently fail setattr() requests on mountpoints
Ensure that any setattr and getattr requests for junctions and/or
mountpoints are sent to the server. Ever since commit
0ec26fd0698 (vfs: automount should ignore LOOKUP_FOLLOW), we have
silently dropped any setattr requests to a server-side mountpoint.
For referrals, we have silently dropped both getattr and setattr
requests.
This patch restores the original behaviour for setattr on mountpoints,
and tries to do the same for referrals, provided that we have a
filehandle...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/nfs/nfs4state.c')
0 files changed, 0 insertions, 0 deletions