diff options
| author | Tony Lindgren <tony@atomide.com> | 2011-11-07 12:27:23 -0800 | 
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2011-11-07 12:27:23 -0800 | 
| commit | d30cc16c8e48368e0518f4975a78711e53e14a0f (patch) | |
| tree | 26b57f7ab5a963cc3d6c57dff6951bd930875583 /fs/9p/vfs_inode_dotl.c | |
| parent | 41eb2d813f558900884e240c2f723e36c7bd151f (diff) | |
| parent | a1bcc1dcef8451b4291ea2a1b2677cb194102952 (diff) | |
| download | olio-linux-3.10-d30cc16c8e48368e0518f4975a78711e53e14a0f.tar.xz olio-linux-3.10-d30cc16c8e48368e0518f4975a78711e53e14a0f.zip  | |
Merge branch 'fixes-modulesplit' into fixes
Diffstat (limited to 'fs/9p/vfs_inode_dotl.c')
| -rw-r--r-- | fs/9p/vfs_inode_dotl.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/9p/vfs_inode_dotl.c b/fs/9p/vfs_inode_dotl.c index aded79fcd5c..0b5745e2194 100644 --- a/fs/9p/vfs_inode_dotl.c +++ b/fs/9p/vfs_inode_dotl.c @@ -606,7 +606,7 @@ v9fs_stat2inode_dotl(struct p9_stat_dotl *stat, struct inode *inode)  		inode->i_ctime.tv_nsec = stat->st_ctime_nsec;  		inode->i_uid = stat->st_uid;  		inode->i_gid = stat->st_gid; -		inode->i_nlink = stat->st_nlink; +		set_nlink(inode, stat->st_nlink);  		mode = stat->st_mode & S_IALLUGO;  		mode |= inode->i_mode & ~S_IALLUGO; @@ -632,7 +632,7 @@ v9fs_stat2inode_dotl(struct p9_stat_dotl *stat, struct inode *inode)  		if (stat->st_result_mask & P9_STATS_GID)  			inode->i_gid = stat->st_gid;  		if (stat->st_result_mask & P9_STATS_NLINK) -			inode->i_nlink = stat->st_nlink; +			set_nlink(inode, stat->st_nlink);  		if (stat->st_result_mask & P9_STATS_MODE) {  			inode->i_mode = stat->st_mode;  			if ((S_ISBLK(inode->i_mode)) ||  |