]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/ecryptfs/file.c
ecryptfs: fix truncation error in ecryptfs_read_update_atime
[mv-sheeva.git] / fs / ecryptfs / file.c
index 91da02987bffef3aa07638d9dd9a8587a7b5a5b2..679817e82484e1fd2964a07730b110c4e79c6100 100644 (file)
@@ -47,7 +47,7 @@ static ssize_t ecryptfs_read_update_atime(struct kiocb *iocb,
                                const struct iovec *iov,
                                unsigned long nr_segs, loff_t pos)
 {
-       int rc;
+       ssize_t rc;
        struct dentry *lower_dentry;
        struct vfsmount *lower_vfsmount;
        struct file *file = iocb->ki_filp;