diff options
Diffstat (limited to 'drivers')
-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 e92595eff1b8..643b413d9f0f 100644 --- a/drivers/staging/pohmelfs/inode.c +++ b/drivers/staging/pohmelfs/inode.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/statfs.h> | 30 | #include <linux/statfs.h> |
31 | #include <linux/writeback.h> | 31 | #include <linux/writeback.h> |
32 | #include <linux/quotaops.h> | ||
33 | 32 | ||
34 | #include "netfs.h" | 33 | #include "netfs.h" |
35 | 34 | ||
@@ -969,13 +968,6 @@ int pohmelfs_setattr_raw(struct inode *inode, struct iattr *attr) | |||
969 | goto err_out_exit; | 968 | goto err_out_exit; |
970 | } | 969 | } |
971 | 970 | ||
972 | if ((attr->ia_valid & ATTR_UID && attr->ia_uid != inode->i_uid) || | ||
973 | (attr->ia_valid & ATTR_GID && attr->ia_gid != inode->i_gid)) { | ||
974 | err = dquot_transfer(inode, attr); | ||
975 | if (err) | ||
976 | goto err_out_exit; | ||
977 | } | ||
978 | |||
979 | err = inode_setattr(inode, attr); | 971 | err = inode_setattr(inode, attr); |
980 | if (err) { | 972 | if (err) { |
981 | dprintk("%s: ino: %llu, failed to set the attributes.\n", __func__, POHMELFS_I(inode)->ino); | 973 | dprintk("%s: ino: %llu, failed to set the attributes.\n", __func__, POHMELFS_I(inode)->ino); |