1. 12 4月, 2015 2 次提交
  2. 26 3月, 2015 1 次提交
  3. 13 3月, 2015 2 次提交
    • C
      fs: remove ki_nbytes · 66ee59af
      Christoph Hellwig 提交于
      There is no need to pass the total request length in the kiocb, as
      we already get passed in through the iov_iter argument.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      66ee59af
    • M
      ocfs2: make append_dio an incompat feature · 18d585f0
      Mark Fasheh 提交于
      It turns out that making this feature ro_compat isn't quite enough to
      prevent accidental corruption on mount from older kernels.  Ocfs2 (like
      other file systems) will process orphaned inodes even when the user mounts
      in 'ro' mode.  So for the case of a filesystem not knowing the append_dio
      feature, mounting the filesystem could result in orphaned-for-dio files
      being deleted, which we clearly don't want.
      
      So instead, turn this into an incompat flag.
      
      Btw, this is kind of my fault - initially I asked that we add a flag to
      cover the feature and even suggested that we use an ro flag.  It wasn't
      until I was looking through our commits for v4.0-rc1 that I realized we
      actually want this to be incompat.
      Signed-off-by: NMark Fasheh <mfasheh@suse.de>
      Cc: Joseph Qi <joseph.qi@huawei.com>
      Cc: Joel Becker <jlbec@evilplan.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      18d585f0
  4. 17 2月, 2015 9 次提交
  5. 11 2月, 2015 19 次提交
  6. 30 1月, 2015 2 次提交
    • J
      quota: Store maximum space limit in bytes · b10a0819
      Jan Kara 提交于
      Currently maximum space limit quota format supports is in blocks however
      since we store space limits in bytes, this is somewhat confusing. So
      store the maximum limit in bytes as well. Also rename the field to match
      the new unit and related inode field to match the new naming scheme.
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJan Kara <jack@suse.cz>
      b10a0819
    • J
      ocfs2: Use generic helpers for quotaon and quotaoff · 664dbd5f
      Jan Kara 提交于
      Ocfs2 can just use the generic helpers provided by quota code for
      turning quotas on and off when quota files are stored as system inodes.
      The only difference is the feature test in ocfs2_quota_on() and that is
      covered by dquot_quota_enable() checking whether usage tracking is
      enabled (which can happen only if the filesystem has the quota feature
      set).
      Signed-off-by: NJan Kara <jack@suse.cz>
      664dbd5f
  7. 22 1月, 2015 1 次提交
    • J
      ocfs2: Move OLQF_CLEAN flag out of generic quota flags · 96827adc
      Jan Kara 提交于
      OLQF_CLEAN flag is used by OCFS2 on disk to recognize whether quota
      recovery is needed or not. We also somewhat abuse mem_dqinfo->dqi_flags
      to pass this flag around. Use private flags for this to avoid clashes
      with other quota flags / not pollute generic quota flag namespace.
      Signed-off-by: NJan Kara <jack@suse.cz>
      96827adc
  8. 21 1月, 2015 3 次提交
  9. 09 1月, 2015 1 次提交