• Steven Whitehouse's avatar
    GFS2: Clean up gfs2_adjust_quota() and do_glock() · 1e72c0f7
    Steven Whitehouse authored
    Both of these functions contained confusing and in one case
    duplicate code. This patch adds a new check in do_glock()
    so that we report -ENOENT if we are asked to sync a quota
    entry which doesn't exist. Due to the previous patch this is
    now reported correctly to userspace.
    
    Also there are a few new comments, and I hope that the code
    is easier to understand now.
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    1e72c0f7
quota.c 31.3 KB