lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sat, 22 May 2010 15:50:33 +1000
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	Theodore Tso <tytso@....EDU>
Cc:	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
	Dmitry Monakhov <dmonakhov@...nvz.org>,
	Jan Kara <jack@...e.cz>, Eric Sandeen <sandeen@...hat.com>
Subject: linux-next: manual merge of the ext4 tree with Linus' tree

Hi Ted,

Today's linux-next merge of the ext4 tree got a conflict in
include/linux/quotaops.h between commit
12755627bdcddcdb30a1bfb9a09395a52b1d6838 ("quota: unify quota init
condition in setattr") from Linus' tree and commits
2b03a9dee57f0a567b17571774d6a6ee8e0135b6 ("quota: use flags interface for
dquot alloc/free space") and facd5e10d2eca8b0eb85eba94494d9302c3740ad
("quota: add the option to not fail with EDQUOT in block") from the ext4
tree.

Juts overlapping additions.  I fixed it up (see below) and can carry the
fix for a while.
-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au

diff --cc include/linux/quotaops.h
index 0c77cd8,8f858ce..0000000
--- a/include/linux/quotaops.h
+++ b/include/linux/quotaops.h
@@@ -14,14 -14,10 +14,18 @@@ static inline struct quota_info *sb_dqo
  	return &sb->s_dquot;
  }
  
 +/* i_mutex must being held */
 +static inline bool is_quota_modification(struct inode *inode, struct iattr *ia)
 +{
 +	return (ia->ia_valid & ATTR_SIZE && ia->ia_size != inode->i_size) ||
 +		(ia->ia_valid & ATTR_UID && ia->ia_uid != inode->i_uid) ||
 +		(ia->ia_valid & ATTR_GID && ia->ia_gid != inode->i_gid);
 +}
 +
+ #define DQUOT_SPACE_WARN	0x1
+ #define DQUOT_SPACE_RESERVE	0x2
+ #define DQUOT_SPACE_NOFAIL	0x4
+ 
  #if defined(CONFIG_QUOTA)
  
  /*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists