projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cce209
)
btrfs-progs: close ioctl fd in find new
author
Zach Brown
<zab@redhat.com>
Wed, 23 Jan 2013 23:15:09 +0000
(15:15 -0800)
committer
Zach Brown
<zab@redhat.com>
Wed, 6 Feb 2013 00:09:40 +0000
(16:09 -0800)
Signed-off-by: Zach Brown <zab@redhat.com>
cmds-subvolume.c
patch
|
blob
|
history
diff --git
a/cmds-subvolume.c
b/cmds-subvolume.c
index
2fce7af
..
a87bcc5
100644
(file)
--- a/
cmds-subvolume.c
+++ b/
cmds-subvolume.c
@@
-764,6
+764,7
@@
static int cmd_find_new(int argc, char **argv)
return 12;
}
ret = btrfs_list_find_updated_files(fd, 0, last_gen);
+ close(fd);
if (ret)
return 19;
return 0;