Signed-off-by: Jeff Layton <[EMAIL PROTECTED]>
---
 fs/9p/vfs_inode.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index e5c45ee..00fcd4e 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -756,6 +756,7 @@ static int v9fs_vfs_setattr(struct dentry *dentry, struct 
iattr *iattr)
                return PTR_ERR(fid);
 
        v9fs_blank_wstat(&wstat);
+       attr_kill_to_mode(dentry->d_inode, iattr);
        if (iattr->ia_valid & ATTR_MODE)
                wstat.mode = unixmode2p9mode(v9ses, iattr->ia_mode);
 
-- 
1.5.2.2

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to