[PATCH] Fix possible oops on quotaoff

From: Jan Kara (jack_at_suse.cz)
Date: 03/31/05

  • Next message: Trond Myklebust: "Re: NFS client latencies"
    Date:	Thu, 31 Mar 2005 14:32:53 +0200
    To: akpm@osdl.org
    
    
    

      Hi!

      Attached one-liner should fix possible Oops on quotaoff - the code
    does not expect quotafiles to have any dquots initialized but they
    actually could have some in the following scenario:
      turn on one quota type
      write to the file with the other quota type (quota gets initialize)
      turn on the other quota type

      Please apply the fix (it should apply well to any recent kernel)

                                                                    Honza

    -- 
    Jan Kara <jack@suse.cz>
    SuSE CR Labs
    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: Trond Myklebust: "Re: NFS client latencies"