diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2010-05-21 07:16:10 (GMT) |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-05-27 15:39:18 (GMT) |
commit | 36a32ae0007c6c1e4e5d1a4363290792c2938f0a (patch) | |
tree | 14623a480336d1ddc1ac49f00f8e39836f4f724c /drivers/staging | |
parent | 8f45c33decf62e1aaaa9411aae8fef6a38f95845 (diff) | |
download | linux-fsl-qoriq-36a32ae0007c6c1e4e5d1a4363290792c2938f0a.tar.xz |
pohmelfs: Remove dead quota code
Quota on pohmelfs is non-functional. IFAIU quota logic was copy-pasted
from generic setattr().
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/pohmelfs/inode.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/pohmelfs/inode.c b/drivers/staging/pohmelfs/inode.c index 9286e86..e1ccb49 100644 --- a/drivers/staging/pohmelfs/inode.c +++ b/drivers/staging/pohmelfs/inode.c @@ -29,7 +29,6 @@ #include <linux/slab.h> #include <linux/statfs.h> #include <linux/writeback.h> -#include <linux/quotaops.h> #include "netfs.h" @@ -969,13 +968,6 @@ int pohmelfs_setattr_raw(struct inode *inode, struct iattr *attr) goto err_out_exit; } - if ((attr->ia_valid & ATTR_UID && attr->ia_uid != inode->i_uid) || - (attr->ia_valid & ATTR_GID && attr->ia_gid != inode->i_gid)) { - err = dquot_transfer(inode, attr); - if (err) - goto err_out_exit; - } - err = inode_setattr(inode, attr); if (err) { dprintk("%s: ino: %llu, failed to set the attributes.\n", __func__, POHMELFS_I(inode)->ino); |