[PATCH 0/2] nfs: fix credential handling problems in flexfiles code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom reported seeing some NFSv3 WRITE calls going to a mirror DS that
were using the MDS credentials instead of the ones that were provided
in the LAYOUTGET response.

The problem turns out to be an issue in how mirror creds were being
set up. Creds are associated with the mirror, not the DS, but we'd
skip trying to set up the credentials in the mirror when we found that
the DS was already connected.

While I was in there, I spotted a potential credential leak too and
fixed that as well.

Jeff Layton (2):
  nfs: fix potential credential leak in ff_layout_update_mirror_cred
  nfs: always update creds in mirror, even when we have an already
    connected ds

 fs/nfs/flexfilelayout/flexfilelayoutdev.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux