Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124991
b: refs/heads/master
c: e83c139
h: refs/heads/master
i:
  124989: f16d65d
  124987: f89ea5c
  124983: 0c4be3a
  124975: 08926d4
  124959: 8f48abc
  124927: b705b13
v: v3
  • Loading branch information
Duane Griffin authored and Al Viro committed Dec 31, 2008
1 parent 75e1d90 commit b320c09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5ed3112b5f74c8ec1c7aa03a76c596635e85197
refs/heads/master: e83c1397cafc4e44f868289db5e417463c0d09a4
7 changes: 5 additions & 2 deletions trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <linux/writeback.h>
#include <linux/pagevec.h>
#include <linux/mpage.h>
#include <linux/namei.h>
#include <linux/uio.h>
#include <linux/bio.h>
#include "ext4_jbd2.h"
Expand Down Expand Up @@ -4164,9 +4165,11 @@ struct inode *ext4_iget(struct super_block *sb, unsigned long ino)
inode->i_op = &ext4_dir_inode_operations;
inode->i_fop = &ext4_dir_operations;
} else if (S_ISLNK(inode->i_mode)) {
if (ext4_inode_is_fast_symlink(inode))
if (ext4_inode_is_fast_symlink(inode)) {
inode->i_op = &ext4_fast_symlink_inode_operations;
else {
nd_terminate_link(ei->i_data, inode->i_size,
sizeof(ei->i_data) - 1);
} else {
inode->i_op = &ext4_symlink_inode_operations;
ext4_set_aops(inode);
}
Expand Down

0 comments on commit b320c09

Please sign in to comment.