linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ext2: symlink must be handled via filesystem specific operation
@ 2010-03-26 16:29 Dmitry Monakhov
  2010-03-26 16:29 ` [PATCH 2/3] ext3: " Dmitry Monakhov
  2010-03-29 14:21 ` [PATCH 1/3] ext2: " Jan Kara
  0 siblings, 2 replies; 10+ messages in thread
From: Dmitry Monakhov @ 2010-03-26 16:29 UTC (permalink / raw)
  To: linux-ext4; +Cc: tytso, jack, Dmitry Monakhov

generic setattr implementation is no longer responsible for
quota transfer so synlinks must be handled via ext2_setattr.
---
 fs/ext2/symlink.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/ext2/symlink.c b/fs/ext2/symlink.c
index 4e2426e..565cf81 100644
--- a/fs/ext2/symlink.c
+++ b/fs/ext2/symlink.c
@@ -32,6 +32,7 @@ const struct inode_operations ext2_symlink_inode_operations = {
 	.readlink	= generic_readlink,
 	.follow_link	= page_follow_link_light,
 	.put_link	= page_put_link,
+	.setattr	= ext2_setattr,
 #ifdef CONFIG_EXT2_FS_XATTR
 	.setxattr	= generic_setxattr,
 	.getxattr	= generic_getxattr,
@@ -43,6 +44,7 @@ const struct inode_operations ext2_symlink_inode_operations = {
 const struct inode_operations ext2_fast_symlink_inode_operations = {
 	.readlink	= generic_readlink,
 	.follow_link	= ext2_follow_link,
+	.setattr	= ext2_setattr,
 #ifdef CONFIG_EXT2_FS_XATTR
 	.setxattr	= generic_setxattr,
 	.getxattr	= generic_getxattr,
-- 
1.6.6.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-04-05  3:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 16:29 [PATCH 1/3] ext2: symlink must be handled via filesystem specific operation Dmitry Monakhov
2010-03-26 16:29 ` [PATCH 2/3] ext3: " Dmitry Monakhov
2010-03-26 16:29   ` [PATCH 3/3] ext4: " Dmitry Monakhov
2010-04-04 20:05     ` tytso
2010-04-05  3:06       ` dmonakhov
2010-03-29 14:21 ` [PATCH 1/3] ext2: " Jan Kara
2010-03-29 14:26   ` Jan Kara
2010-03-29 15:28     ` dmonakhov
2010-03-29 15:24   ` dmonakhov
2010-03-29 15:58     ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).