1. 31 Mar, 2014 8 commits
  2. 13 Nov, 2013 1 commit
  3. 09 Nov, 2013 2 commits
  4. 25 Oct, 2013 1 commit
  5. 08 Jul, 2013 1 commit
  6. 05 Jul, 2013 1 commit
  7. 29 Jun, 2013 12 commits
  8. 23 Feb, 2013 1 commit
  9. 27 Sep, 2012 1 commit
  10. 20 Aug, 2012 1 commit
    • Jeff Layton's avatar
      vfs: don't treat fl_type as a bitmap · 0ee5c6d6
      Jeff Layton authored
      The rules for fl_type are rather convoluted. Typically it's treated as
      holding specific values, except in the case of LOCK_MAND, in which case
      it can be or'ed with LOCK_READ|LOCK_WRITE.
      
      On some arches F_WRLCK == 2 and F_UNLCK == 3, so and'ing with F_WRLCK will also
      catch the F_UNLCK case. It's unlikely in either case here that we'd ever see
      F_UNLCK since those shouldn't end up on any lists, but it's still best to be
      consistent.
      Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      0ee5c6d6
  11. 01 Aug, 2012 1 commit
  12. 27 Jul, 2012 2 commits
  13. 23 Jul, 2012 1 commit
  14. 13 Jul, 2012 1 commit
  15. 30 May, 2012 1 commit
  16. 03 May, 2012 1 commit
  17. 01 Apr, 2012 1 commit
  18. 26 Dec, 2011 1 commit
    • Linus Torvalds's avatar
      vfs: fix handling of lock allocation failure in lease-break case · 6d4b9e38
      Linus Torvalds authored
      Bruce Fields notes that commit 778fc546 ("locks: fix tracking of
      inprogress lease breaks") introduced a possible error pointer
      dereference on failure to allocate memory.  locks_conflict() will
      dereference the passed-in new lease lock structure that may be an error pointer.
      
      This means an open (without O_NONBLOCK set) on a file with a lease
      applied (generally only done when Samba or nfsd (with v4) is running)
      could crash if a kmalloc() fails.
      
      So instead of playing games with IS_ERROR() all over the place, just
      check the allocation failure early.  That makes the code more
      straightforward, and avoids this possible bad pointer dereference.
      Based-on-patch-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6d4b9e38
  19. 27 Sep, 2011 1 commit
    • Paul Bolle's avatar
      doc: fix broken references · 395cf969
      Paul Bolle authored
      There are numerous broken references to Documentation files (in other
      Documentation files, in comments, etc.). These broken references are
      caused by typo's in the references, and by renames or removals of the
      Documentation files. Some broken references are simply odd.
      
      Fix these broken references, sometimes by dropping the irrelevant text
      they were part of.
      Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      395cf969
  20. 21 Sep, 2011 1 commit