lkml.org 
[lkml]   [2012]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5/5] overlayfs: update touch_atime() usage
    Date
    touch_atime() now has new parametarisation, follow this in overlayfs.

    Signed-off-by: Andy Whitcroft <apw@canonical.com>
    ---
    fs/overlayfs/inode.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)
    diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c
    index bc9178c..c63fd3f 100644
    --- a/fs/overlayfs/inode.c
    +++ b/fs/overlayfs/inode.c
    @@ -176,7 +176,7 @@ static int ovl_readlink(struct dentry *dentry, char __user *buf, int bufsiz)
    if (!realinode->i_op->readlink)
    return -EINVAL;

    - touch_atime(realpath.mnt, realpath.dentry);
    + touch_atime(&realpath);

    return realinode->i_op->readlink(realpath.dentry, buf, bufsiz);
    }
    --
    1.7.9.5


    \
     
     \ /
      Last update: 2012-05-01 17:41    [from the cache]
    ©2003-2014 Jasper Spaans. hosted at Digital Ocean