1. 11 10月, 2005 9 次提交
  2. 08 10月, 2005 1 次提交
  3. 06 10月, 2005 4 次提交
  4. 04 10月, 2005 3 次提交
  5. 23 9月, 2005 1 次提交
  6. 22 9月, 2005 1 次提交
  7. 21 9月, 2005 1 次提交
  8. 19 9月, 2005 1 次提交
  9. 16 9月, 2005 3 次提交
  10. 07 9月, 2005 1 次提交
  11. 01 9月, 2005 1 次提交
  12. 31 8月, 2005 4 次提交
  13. 27 8月, 2005 1 次提交
    • S
      [PATCH] Fix oops in fs/locks.c on close of file with pending locks · d634cc15
      Steve French 提交于
      The recent change to locks_remove_flock code in fs/locks.c changes how
      byte range locks are removed from closing files, which shows up a bug in
      cifs.
      
      The assumption in the cifs code was that the close call sent to the
      server would remove any pending locks on the server on this file, but
      that is no longer safe as the fs/locks.c code on the client wants unlock
      of 0 to PATH_MAX to remove all locks (at least from this client, it is
      not possible AFAIK to remove all locks from other clients made to the
      server copy of the file).
      
      Note that cifs locks are different from posix locks - and it is not
      possible to map posix locks perfectly on the wire yet, due to
      restrictions of the cifs network protocol, even to Samba without adding
      a new request type to the network protocol (which we plan to do for
      Samba 3.0.21 within a few months), but the local client will have the
      correct, posix view, of the lock in most cases.
      
      The correct fix for cifs for this would involve a bigger change than I
      would like to do this late in the 2.6.13-rc cycle - and would involve
      cifs keeping track of all unmerged (uncoalesced) byte range locks for
      each remote inode and scanning that list to remove locks that intersect
      or fall wholly within the range - locks that intersect may have to be
      reaquired with the smaller, remaining range.
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      Signed-off-by: NDave Kleikamp <shaggy@austin.ibm.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d634cc15
  14. 25 8月, 2005 8 次提交
  15. 24 8月, 2005 1 次提交