diff options
author | Christoph Hellwig <hch@lst.de> | 2007-07-31 03:39:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 18:39:43 -0400 |
commit | 0af1a4504699524c876361845bc2e301ecc45d0f (patch) | |
tree | 72c6d1ac9d7dfb44d25c58eea599c2df63aa2562 /fs/gfs2/ops_file.c | |
parent | 86d0004abc87025bae1cca43c94e99a27b7bbbd6 (diff) |
rename setlease to generic_setlease
Make it a little more clear that this is the default implementation for
the setleast operation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Acked-by: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r-- | fs/gfs2/ops_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c index 1a5e8e893d75..773421130116 100644 --- a/fs/gfs2/ops_file.c +++ b/fs/gfs2/ops_file.c | |||
@@ -508,7 +508,7 @@ static int gfs2_setlease(struct file *file, long arg, struct file_lock **fl) | |||
508 | */ | 508 | */ |
509 | if (!sdp->sd_args.ar_localflocks) | 509 | if (!sdp->sd_args.ar_localflocks) |
510 | return -EINVAL; | 510 | return -EINVAL; |
511 | return setlease(file, arg, fl); | 511 | return generic_setlease(file, arg, fl); |
512 | } | 512 | } |
513 | 513 | ||
514 | /** | 514 | /** |