shaggy | 21 Apr 2010 14:42
Picon

[PATCH 2/2] jfs: add jfs specific ->setattr call

commit c7f2e1f0ac142a657a1de00d404e1c8345b20598
Author: Dmitry Monakhov <dmonakhov <at> openvz.org>
Date:   Fri Apr 16 08:05:50 2010 -0500

    jfs: add jfs specific ->setattr call

    generic setattr not longer responsible for quota transfer.
    use jfs_setattr for all jfs's inodes.

    Signed-off-by: Dmitry Monakhov <dmonakhov <at> openvz.org>
    Signed-off-by: Dave Kleikamp <shaggy <at> linux.vnet.ibm.com>

diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c
index b2ae190..97cd119 100644
--- a/fs/jfs/inode.c
+++ b/fs/jfs/inode.c
 <at>  <at>  -60,7 +60,7  <at>  <at>  struct inode *jfs_iget(struct super_block *sb, unsigned long ino)
 			inode->i_op = &page_symlink_inode_operations;
 			inode->i_mapping->a_ops = &jfs_aops;
 		} else {
-			inode->i_op = &jfs_symlink_inode_operations;
+			inode->i_op = &jfs_fast_symlink_inode_operations;
 			/*
 			 * The inline data should be null-terminated, but
 			 * don't let on-disk corruption crash the kernel
diff --git a/fs/jfs/jfs_inode.h b/fs/jfs/jfs_inode.h
index 1eff7db..f8b56b2 100644
--- a/fs/jfs/jfs_inode.h
+++ b/fs/jfs/jfs_inode.h
 <at>  <at>  -47,5 +47,6  <at>  <at>  extern const struct file_operations jfs_dir_operations;
(Continue reading)


Gmane