<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/quota, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-11-14T18:10:37Z</updated>
<entry>
<title>quota: Properly return errors from dquot_writeback_dquots()</title>
<updated>2014-11-14T18:10:37Z</updated>
<author>
<name>Jan Kara</name>
</author>
<published>2014-10-22T07:06:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1f4f91373870dcbb80bcce2702b9ad84c9740680'/>
<id>urn:sha1:1f4f91373870dcbb80bcce2702b9ad84c9740680</id>
<content type='text'>
commit 474d2605d119479e5aa050f738632e63589d4bb5 upstream.

Due to a switched left and right side of an assignment,
dquot_writeback_dquots() never returned error. This could result in
errors during quota writeback to not be reported to userspace properly.
Fix it.

Coverity-id: 1226884
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>fs/quota: kernel-doc warning fixes</title>
<updated>2014-07-15T20:40:23Z</updated>
<author>
<name>Fabian Frederick</name>
</author>
<published>2014-07-04T19:44:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c15ac5bdb0009645f1f5962086021daa6b52d3f'/>
<id>urn:sha1:2c15ac5bdb0009645f1f5962086021daa6b52d3f</id>
<content type='text'>
type and id were removed and qid added to quota_send_warning in commit

431f19744d15
("userns: Convert quota netlink aka quota_send_warning")

Cc: Jan Kara &lt;jack@suse.cz&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Fabian Frederick &lt;fabf@skynet.be&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>quota: remove dqptr_sem</title>
<updated>2014-07-15T20:40:22Z</updated>
<author>
<name>Niu Yawei</name>
</author>
<published>2014-06-04T04:23:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9ba6f94b2382ef832f97122976b73004f714714'/>
<id>urn:sha1:b9ba6f94b2382ef832f97122976b73004f714714</id>
<content type='text'>
Remove dqptr_sem to make quota code scalable: Remove the dqptr_sem,
accessing inode-&gt;i_dquot now protected by dquot_srcu, and changing
inode-&gt;i_dquot is now serialized by dq_data_lock.

Signed-off-by: Lai Siyao &lt;lai.siyao@intel.com&gt;
Signed-off-by: Niu Yawei &lt;yawei.niu@intel.com&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>quota: simplify remove_inode_dquot_ref()</title>
<updated>2014-07-15T20:40:21Z</updated>
<author>
<name>Niu Yawei</name>
</author>
<published>2014-06-04T04:21:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9eb6463f31cf720deaf0e810cacc403d7720b10c'/>
<id>urn:sha1:9eb6463f31cf720deaf0e810cacc403d7720b10c</id>
<content type='text'>
Simplify the remove_inode_dquot_ref() to make it more obvious
that now we keep one reference for each dquot from inodes.

Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
Signed-off-by: Niu Yawei &lt;yawei.niu@intel.com&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>quota: avoid unnecessary dqget()/dqput() calls</title>
<updated>2014-07-15T20:40:21Z</updated>
<author>
<name>Niu Yawei</name>
</author>
<published>2014-06-04T04:20:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ea06bec78a128adc995ca32bd906a6c9bb9cf91'/>
<id>urn:sha1:1ea06bec78a128adc995ca32bd906a6c9bb9cf91</id>
<content type='text'>
Avoid unnecessary dqget()/dqput() calls in __dquot_initialize(),
that will introduce global lock contention otherwise.

Signed-off-by: Lai Siyao &lt;lai.siyao@intel.com&gt;
Signed-off-by: Niu Yawei &lt;yawei.niu@intel.com&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>quota: protect Q_GETFMT by dqonoff_mutex</title>
<updated>2014-07-15T20:40:20Z</updated>
<author>
<name>Niu Yawei</name>
</author>
<published>2014-06-04T04:19:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=606cdcca04a609ed4dfbfe788942de9477da556b'/>
<id>urn:sha1:606cdcca04a609ed4dfbfe788942de9477da556b</id>
<content type='text'>
dqptr_sem will go away. Protect Q_GETFMT quotactl by
dqonoff_mutex instead. This is also enough to make sure
quota info will not go away while we are looking at it.

Signed-off-by: Lai Siyao &lt;lai.siyao@intel.com&gt;
Signed-off-by: Niu Yawei &lt;yawei.niu@intel.com&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>quota: missing lock in dqcache_shrink_scan()</title>
<updated>2014-07-15T20:36:18Z</updated>
<author>
<name>Niu Yawei</name>
</author>
<published>2014-06-04T04:22:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d68aab6b8f572406aa93b45ef6483934dd3b54a6'/>
<id>urn:sha1:d68aab6b8f572406aa93b45ef6483934dd3b54a6</id>
<content type='text'>
Commit 1ab6c4997e04 (fs: convert fs shrinkers to new scan/count API)
accidentally removed locking from quota shrinker. Fix it -
dqcache_shrink_scan() should use dq_list_lock to protect the
scan on free_dquots list.

CC: stable@vger.kernel.org
Fixes: 1ab6c4997e04a00c50c6d786c2f046adc0d1f5de
Signed-off-by: Niu Yawei &lt;yawei.niu@intel.com&gt;
Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
</content>
</entry>
<entry>
<title>xfs: fix Q_XQUOTARM ioctl</title>
<updated>2014-05-05T07:25:50Z</updated>
<author>
<name>Eric Sandeen</name>
</author>
<published>2014-05-05T07:25:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9da93f9b7cdf8ab28da6b364cdc1fafc8670b4dc'/>
<id>urn:sha1:9da93f9b7cdf8ab28da6b364cdc1fafc8670b4dc</id>
<content type='text'>
The Q_XQUOTARM quotactl was not working properly, because
we weren't passing around proper flags.  The xfs_fs_set_xstate()
ioctl handler used the same flags for Q_XQUOTAON/OFF as
well as for Q_XQUOTARM, but Q_XQUOTAON/OFF look for
XFS_UQUOTA_ACCT, XFS_UQUOTA_ENFD, XFS_GQUOTA_ACCT etc,
i.e. quota type + state, while Q_XQUOTARM looks only for
the type of quota, i.e. XFS_DQ_USER, XFS_DQ_GROUP etc.

Unfortunately these flag spaces overlap a bit, so we
got semi-random results for Q_XQUOTARM; i.e. the value
for XFS_DQ_USER == XFS_UQUOTA_ACCT, etc.  yeargh.

Add a new quotactl op vector specifically for the QUOTARM
operation, since it operates with a different flag space.

This has been broken more or less forever, AFAICT.

Signed-off-by: Eric Sandeen &lt;sandeen@redhat.com&gt;
Acked-by: Jan Kara &lt;jack@suse.cz&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Dave Chinner &lt;david@fromorbit.com&gt;


</content>
</entry>
<entry>
<title>Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs</title>
<updated>2014-04-08T00:59:17Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2014-04-08T00:59:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7963eb7f4c4b5df84d5dd5083734278ad75bafb'/>
<id>urn:sha1:a7963eb7f4c4b5df84d5dd5083734278ad75bafb</id>
<content type='text'>
Pull ext3 improvements, cleanups, reiserfs fix from Jan Kara:
 "various cleanups for ext2, ext3, udf, isofs, a documentation update
  for quota, and a fix of a race in reiserfs readdir implementation"

* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
  reiserfs: fix race in readdir
  ext2: acl: remove unneeded include of linux/capability.h
  ext3: explicitly remove inode from orphan list after failed direct io
  fs/isofs/inode.c add __init to init_inodecache()
  ext3: Speedup WB_SYNC_ALL pass
  fs/quota/Kconfig: Update filesystems
  ext3: Update outdated comment before ext3_ordered_writepage()
  ext3: Update PF_MEMALLOC handling in ext3_write_inode()
  ext2/3: use prandom_u32() instead of get_random_bytes()
  ext3: remove an unneeded check in ext3_new_blocks()
  ext3: remove unneeded check in ext3_ordered_writepage()
  fs: Mark function as static in ext3/xattr_security.c
  fs: Mark function as static in ext3/dir.c
  fs: Mark function as static in ext2/xattr_security.c
  ext3: Add __init macro to init_inodecache
  ext2: Add __init macro to init_inodecache
  udf: Add __init macro to init_inodecache
  fs: udf: parse_options: blocksize check
</content>
</entry>
<entry>
<title>quota: provide function to grab quota structure reference</title>
<updated>2014-04-03T23:20:54Z</updated>
<author>
<name>Jan Kara</name>
</author>
<published>2014-04-03T21:46:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9f985cb6c45bc3f8b7e161c9658d409d051d576f'/>
<id>urn:sha1:9f985cb6c45bc3f8b7e161c9658d409d051d576f</id>
<content type='text'>
Provide dqgrab() function to get quota structure reference when we are
sure it already has at least one active reference.  Make use of this
function inside quota code.

Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
Reviewed-by: Mark Fasheh &lt;mfasheh@suse.de&gt;
Reviewed-by: Srinivas Eeda &lt;srinivas.eeda@oracle.com&gt;
Cc: Joel Becker &lt;jlbec@evilplan.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
