diff options
author | Manoj Naik <manoj@almaden.ibm.com> | 2006-06-09 09:34:24 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-09 09:34:24 -0400 |
commit | 361e624f6d8bfbeac53769603d995d47535cfd46 (patch) | |
tree | 9cf400058ff4c4960a4e573b3753baff41cb5cf0 /fs | |
parent | 99baf625d3b9b8944920acc7c2d06079a37458c5 (diff) |
NFSv4: GETATTR attributes on referral
Per referral draft, only fs_locations, fsid, and mounted_on_fileid can be
requested in a GETATTR on referrals.
Signed-off-by: Manoj Naik <manoj@almaden.ibm.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 043223a0eda6..8640607d6a00 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -3575,8 +3575,8 @@ int nfs4_proc_fs_locations(struct inode *dir, struct dentry *dentry, | |||
3575 | { | 3575 | { |
3576 | struct nfs_server *server = NFS_SERVER(dir); | 3576 | struct nfs_server *server = NFS_SERVER(dir); |
3577 | u32 bitmask[2] = { | 3577 | u32 bitmask[2] = { |
3578 | [0] = server->attr_bitmask[0] | FATTR4_WORD0_FS_LOCATIONS, | 3578 | [0] = FATTR4_WORD0_FSID | FATTR4_WORD0_FS_LOCATIONS, |
3579 | [1] = server->attr_bitmask[1], | 3579 | [1] = FATTR4_WORD1_MOUNTED_ON_FILEID, |
3580 | }; | 3580 | }; |
3581 | struct nfs4_fs_locations_arg args = { | 3581 | struct nfs4_fs_locations_arg args = { |
3582 | .dir_fh = NFS_FH(dir), | 3582 | .dir_fh = NFS_FH(dir), |